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