pub struct MosaicAddressRestrictionTransactionBodyBuilder {
pub mosaic_id: UnresolvedMosaicIdDto,
pub restriction_key: u64,
pub previous_restriction_value: u64,
pub new_restriction_value: u64,
pub target_address: UnresolvedAddressDto,
}Expand description
Binary layout for a mosaic address restriction transaction.
Fields§
§mosaic_id: UnresolvedMosaicIdDtoIdentifier of the mosaic to which the restriction applies.
restriction_key: u64Restriction key.
previous_restriction_value: u64Previous restriction value.
new_restriction_value: u64New restriction value.
target_address: UnresolvedAddressDtoAddress being restricted.
Implementations§
Source§impl MosaicAddressRestrictionTransactionBodyBuilder
impl MosaicAddressRestrictionTransactionBodyBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of MosaicAddressRestrictionTransactionBodyBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A MosaicAddressRestrictionTransactionBodyBuilder.
Trait Implementations§
Source§impl Clone for MosaicAddressRestrictionTransactionBodyBuilder
impl Clone for MosaicAddressRestrictionTransactionBodyBuilder
Source§fn clone(&self) -> MosaicAddressRestrictionTransactionBodyBuilder
fn clone(&self) -> MosaicAddressRestrictionTransactionBodyBuilder
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 MosaicAddressRestrictionTransactionBodyBuilder
impl RefUnwindSafe for MosaicAddressRestrictionTransactionBodyBuilder
impl Send for MosaicAddressRestrictionTransactionBodyBuilder
impl Sync for MosaicAddressRestrictionTransactionBodyBuilder
impl Unpin for MosaicAddressRestrictionTransactionBodyBuilder
impl UnwindSafe for MosaicAddressRestrictionTransactionBodyBuilder
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