Struct flow_sdk::prelude::AddContractTransaction [−][src]
pub struct AddContractTransaction<'a, Name: AsRef<str>, Script: AsRef<str>> {
pub name: Name,
pub script: Script,
pub extra_args: HashMap<String, ValueRef<'a>>,
}
Expand description
Adds a contract to an account.
Fields
name: Name
The name of the contract.
script: Script
The script of the contract.
extra_args: HashMap<String, ValueRef<'a>>
The extra arguments passed to the contract’s initialization.
Implementations
Turns this transaction template into a TransactionHeader
.
Auto Trait Implementations
impl<'a, Name, Script> RefUnwindSafe for AddContractTransaction<'a, Name, Script> where
Name: RefUnwindSafe,
Script: RefUnwindSafe,
impl<'a, Name, Script> Send for AddContractTransaction<'a, Name, Script> where
Name: Send,
Script: Send,
impl<'a, Name, Script> Sync for AddContractTransaction<'a, Name, Script> where
Name: Sync,
Script: Sync,
impl<'a, Name, Script> Unpin for AddContractTransaction<'a, Name, Script> where
Name: Unpin,
Script: Unpin,
impl<'a, Name, Script> UnwindSafe for AddContractTransaction<'a, Name, Script> where
Name: UnwindSafe,
Script: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
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