Enum diem_types::transaction::WriteSetPayload [−][src]
pub enum WriteSetPayload {
Direct(ChangeSet),
Script {
execute_as: AccountAddress,
script: Script,
},
}Expand description
Two different kinds of WriteSet transactions.
Variants
Direct(ChangeSet)Directly passing in the WriteSet.
Tuple Fields of Direct
0: ChangeSetGenerate the WriteSet by running a script.
Fields of Script
execute_as: AccountAddressExecute the script as the designated signer.
script: ScriptScript body that gets executed.
Implementations
Trait Implementations
type Parameters = ()
type Parameters = ()
The type of parameters that arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default. Read more
type Strategy = BoxedStrategy<Self>
type Strategy = BoxedStrategy<Self>
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 RefUnwindSafe for WriteSetPayload
impl Send for WriteSetPayload
impl Sync for WriteSetPayload
impl Unpin for WriteSetPayload
impl UnwindSafe for WriteSetPayload
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.