pub struct MosaicRestrictionEntryBuilder { /* private fields */ }
Expand description
Binary layout for a mosaic restriction.
Implementations§
Source§impl MosaicRestrictionEntryBuilder
impl MosaicRestrictionEntryBuilder
Sourcepub fn from_binary(_bytes: &[u8]) -> Self
pub fn from_binary(_bytes: &[u8]) -> Self
Creates an instance of MosaicRestrictionEntryBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A MosaicRestrictionEntryBuilder.
Sourcepub fn get_entry_type(&self) -> MosaicRestrictionEntryTypeDto
pub fn get_entry_type(&self) -> MosaicRestrictionEntryTypeDto
Gets type of restriction being placed upon the entity.
§Returns
A Type of restriction being placed upon the entity.
Sourcepub fn get_address_entry(&self) -> Option<MosaicAddressRestrictionEntryBuilder>
pub fn get_address_entry(&self) -> Option<MosaicAddressRestrictionEntryBuilder>
Sourcepub fn get_global_entry(&self) -> Option<MosaicGlobalRestrictionEntryBuilder>
pub fn get_global_entry(&self) -> Option<MosaicGlobalRestrictionEntryBuilder>
Trait Implementations§
Source§impl Clone for MosaicRestrictionEntryBuilder
impl Clone for MosaicRestrictionEntryBuilder
Source§fn clone(&self) -> MosaicRestrictionEntryBuilder
fn clone(&self) -> MosaicRestrictionEntryBuilder
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 MosaicRestrictionEntryBuilder
impl RefUnwindSafe for MosaicRestrictionEntryBuilder
impl Send for MosaicRestrictionEntryBuilder
impl Sync for MosaicRestrictionEntryBuilder
impl Unpin for MosaicRestrictionEntryBuilder
impl UnwindSafe for MosaicRestrictionEntryBuilder
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