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