Struct flow_sdk::transaction::UpdateContractTransaction [−][src]
pub struct UpdateContractTransaction<Name: AsRef<str>, Script: AsRef<str>> {
pub name: Name,
pub script: Script,
}
Expand description
Updates a contract of an account by name.
Fields
name: Name
The name of the contract to be updated.
script: Script
The updated script of the contract.
Implementations
Turns this transaction template into a TransactionHeader
.
Auto Trait Implementations
impl<Name, Script> RefUnwindSafe for UpdateContractTransaction<Name, Script> where
Name: RefUnwindSafe,
Script: RefUnwindSafe,
impl<Name, Script> Send for UpdateContractTransaction<Name, Script> where
Name: Send,
Script: Send,
impl<Name, Script> Sync for UpdateContractTransaction<Name, Script> where
Name: Sync,
Script: Sync,
impl<Name, Script> Unpin for UpdateContractTransaction<Name, Script> where
Name: Unpin,
Script: Unpin,
impl<Name, Script> UnwindSafe for UpdateContractTransaction<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