pub struct AccountMosaicRestrictionTransactionBuilder {
pub super_object: TransactionBuilder,
pub body: AccountMosaicRestrictionTransactionBodyBuilder,
}
Expand description
Binary layout for a non-embedded account mosaic restriction transaction.
Fields§
§super_object: TransactionBuilder
Transaction.
body: AccountMosaicRestrictionTransactionBodyBuilder
Account mosaic restriction transaction body.
Implementations§
Source§impl AccountMosaicRestrictionTransactionBuilder
impl AccountMosaicRestrictionTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of AccountMosaicRestrictionTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A AccountMosaicRestrictionTransactionBuilder.
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 AccountMosaicRestrictionTransactionBuilder
impl Clone for AccountMosaicRestrictionTransactionBuilder
Source§fn clone(&self) -> AccountMosaicRestrictionTransactionBuilder
fn clone(&self) -> AccountMosaicRestrictionTransactionBuilder
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 AccountMosaicRestrictionTransactionBuilder
impl RefUnwindSafe for AccountMosaicRestrictionTransactionBuilder
impl Send for AccountMosaicRestrictionTransactionBuilder
impl Sync for AccountMosaicRestrictionTransactionBuilder
impl Unpin for AccountMosaicRestrictionTransactionBuilder
impl UnwindSafe for AccountMosaicRestrictionTransactionBuilder
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