Struct flow_sdk::transaction::TransactionHeader [−][src]
pub struct TransactionHeader<Arguments> {
pub script: Cow<'static, str>,
pub arguments: Arguments,
}
Expand description
A TransactionHeader
is a template plus arguments.
Fields
script: Cow<'static, str>
The script, provided by the template.
arguments: Arguments
Encoded arguments.
The number of arguments is determined by the template.
Implementations
pub fn into_party_builder(self) -> PartyBuilder where
Arguments: IntoIterator<Item = Box<[u8]>>,
pub fn into_party_builder(self) -> PartyBuilder where
Arguments: IntoIterator<Item = Box<[u8]>>,
Creates a PartyBuilder
and feeds it the transaction header’s
script and arguments.
Trait Implementations
impl<Args> Debug for TransactionHeader<Args> where
for<'a> &'a Args: IntoIterator,
for<'a> <&'a Args as IntoIterator>::Item: AsRef<[u8]>,
impl<Args> Debug for TransactionHeader<Args> where
for<'a> &'a Args: IntoIterator,
for<'a> <&'a Args as IntoIterator>::Item: AsRef<[u8]>,
impl<Arguments: PartialEq> PartialEq<TransactionHeader<Arguments>> for TransactionHeader<Arguments>
impl<Arguments: PartialEq> PartialEq<TransactionHeader<Arguments>> for TransactionHeader<Arguments>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<Arguments> RefUnwindSafe for TransactionHeader<Arguments> where
Arguments: RefUnwindSafe,
impl<Arguments> Send for TransactionHeader<Arguments> where
Arguments: Send,
impl<Arguments> Sync for TransactionHeader<Arguments> where
Arguments: Sync,
impl<Arguments> Unpin for TransactionHeader<Arguments> where
Arguments: Unpin,
impl<Arguments> UnwindSafe for TransactionHeader<Arguments> where
Arguments: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more