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