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