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