pub struct MosaicAddressRestrictionEntryBuilder { /* private fields */ }
Expand description
Binary layout for a mosaic restriction.
Implementations§
Source§impl MosaicAddressRestrictionEntryBuilder
impl MosaicAddressRestrictionEntryBuilder
Sourcepub fn from_binary(_bytes: &[u8]) -> Self
pub fn from_binary(_bytes: &[u8]) -> Self
Creates an instance of MosaicAddressRestrictionEntryBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A MosaicAddressRestrictionEntryBuilder.
Sourcepub fn get_mosaic_id(&self) -> MosaicIdDto
pub fn get_mosaic_id(&self) -> MosaicIdDto
Gets identifier of the mosaic to which the restriction applies.
§Returns
A Identifier of the mosaic to which the restriction applies.
Sourcepub fn get_address(&self) -> AddressDto
pub fn get_address(&self) -> AddressDto
Sourcepub fn get_key_pairs(&self) -> AddressKeyValueSetBuilder
pub fn get_key_pairs(&self) -> AddressKeyValueSetBuilder
Trait Implementations§
Source§impl Clone for MosaicAddressRestrictionEntryBuilder
impl Clone for MosaicAddressRestrictionEntryBuilder
Source§fn clone(&self) -> MosaicAddressRestrictionEntryBuilder
fn clone(&self) -> MosaicAddressRestrictionEntryBuilder
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 MosaicAddressRestrictionEntryBuilder
impl RefUnwindSafe for MosaicAddressRestrictionEntryBuilder
impl Send for MosaicAddressRestrictionEntryBuilder
impl Sync for MosaicAddressRestrictionEntryBuilder
impl Unpin for MosaicAddressRestrictionEntryBuilder
impl UnwindSafe for MosaicAddressRestrictionEntryBuilder
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