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