pub struct EmbeddedAccountMosaicRestrictionTransactionBuilder {
pub super_object: EmbeddedTransactionBuilder,
pub body: AccountMosaicRestrictionTransactionBodyBuilder,
}
Expand description
Binary layout for an embedded account mosaic restriction transaction.
Fields§
§super_object: EmbeddedTransactionBuilder
Embedded transaction.
body: AccountMosaicRestrictionTransactionBodyBuilder
Account mosaic restriction transaction body.
Implementations§
Source§impl EmbeddedAccountMosaicRestrictionTransactionBuilder
impl EmbeddedAccountMosaicRestrictionTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of EmbeddedAccountMosaicRestrictionTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A EmbeddedAccountMosaicRestrictionTransactionBuilder.
pub fn get_restriction_flags(&self) -> Vec<AccountRestrictionFlagsDto>
pub fn set_restriction_flags( &mut self, restriction_flags: Vec<AccountRestrictionFlagsDto>, )
pub fn get_restriction_additions(&self) -> Vec<UnresolvedMosaicIdDto>
pub fn get_restriction_deletions(&self) -> Vec<UnresolvedMosaicIdDto>
Trait Implementations§
Source§impl Clone for EmbeddedAccountMosaicRestrictionTransactionBuilder
impl Clone for EmbeddedAccountMosaicRestrictionTransactionBuilder
Source§fn clone(&self) -> EmbeddedAccountMosaicRestrictionTransactionBuilder
fn clone(&self) -> EmbeddedAccountMosaicRestrictionTransactionBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for EmbeddedAccountMosaicRestrictionTransactionBuilder
impl RefUnwindSafe for EmbeddedAccountMosaicRestrictionTransactionBuilder
impl Send for EmbeddedAccountMosaicRestrictionTransactionBuilder
impl Sync for EmbeddedAccountMosaicRestrictionTransactionBuilder
impl Unpin for EmbeddedAccountMosaicRestrictionTransactionBuilder
impl UnwindSafe for EmbeddedAccountMosaicRestrictionTransactionBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more