Struct diem_sdk::move_types::effects::ChangeSet [−][src]
pub struct ChangeSet { /* fields omitted */ }
Expand description
A collection of changes to a Move state. Each AccountChangeSet in the domain of accounts
is guaranteed to be nonempty
Implementations
pub fn publish_or_overwrite_account_change_set(
&mut self,
addr: AccountAddress,
account_change_set: AccountChangeSet
)
pub fn publish_or_overwrite_resource(
&mut self,
addr: AccountAddress,
struct_tag: StructTag,
blob: Vec<u8, Global>
)
pub fn publish_resource(
&mut self,
addr: AccountAddress,
struct_tag: StructTag,
blob: Vec<u8, Global>
) -> Result<(), Error>
pub fn unpublish_resource(
&mut self,
addr: AccountAddress,
struct_tag: StructTag
) -> Result<(), Error>
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ChangeSet
impl UnwindSafe for ChangeSet
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
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