pub struct EmbeddedMosaicGlobalRestrictionTransactionBuilder {
pub super_object: EmbeddedTransactionBuilder,
pub body: MosaicGlobalRestrictionTransactionBodyBuilder,
}
Expand description
Binary layout for an embedded mosaic global restriction transaction.
Fields§
§super_object: EmbeddedTransactionBuilder
Embedded transaction.
body: MosaicGlobalRestrictionTransactionBodyBuilder
Mosaic global restriction transaction body.
Implementations§
Source§impl EmbeddedMosaicGlobalRestrictionTransactionBuilder
impl EmbeddedMosaicGlobalRestrictionTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of EmbeddedMosaicGlobalRestrictionTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A EmbeddedMosaicGlobalRestrictionTransactionBuilder.
pub fn get_mosaic_id(&self) -> UnresolvedMosaicIdDto
pub fn set_mosaic_id(&mut self, mosaic_id: UnresolvedMosaicIdDto)
pub fn get_reference_mosaic_id(&self) -> UnresolvedMosaicIdDto
pub fn set_reference_mosaic_id( &mut self, reference_mosaic_id: UnresolvedMosaicIdDto, )
pub fn get_restriction_key(&self) -> u64
pub fn set_restriction_key(&mut self, restriction_key: u64)
pub fn get_previous_restriction_value(&self) -> u64
pub fn set_previous_restriction_value( &mut self, previous_restriction_value: u64, )
pub fn get_new_restriction_value(&self) -> u64
pub fn set_new_restriction_value(&mut self, new_restriction_value: u64)
pub fn get_previous_restriction_type(&self) -> MosaicRestrictionTypeDto
pub fn set_previous_restriction_type( &mut self, previous_restriction_type: MosaicRestrictionTypeDto, )
pub fn get_new_restriction_type(&self) -> MosaicRestrictionTypeDto
pub fn set_new_restriction_type( &mut self, new_restriction_type: MosaicRestrictionTypeDto, )
Trait Implementations§
Source§impl Clone for EmbeddedMosaicGlobalRestrictionTransactionBuilder
impl Clone for EmbeddedMosaicGlobalRestrictionTransactionBuilder
Source§fn clone(&self) -> EmbeddedMosaicGlobalRestrictionTransactionBuilder
fn clone(&self) -> EmbeddedMosaicGlobalRestrictionTransactionBuilder
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 EmbeddedMosaicGlobalRestrictionTransactionBuilder
impl RefUnwindSafe for EmbeddedMosaicGlobalRestrictionTransactionBuilder
impl Send for EmbeddedMosaicGlobalRestrictionTransactionBuilder
impl Sync for EmbeddedMosaicGlobalRestrictionTransactionBuilder
impl Unpin for EmbeddedMosaicGlobalRestrictionTransactionBuilder
impl UnwindSafe for EmbeddedMosaicGlobalRestrictionTransactionBuilder
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