pub struct MosaicDefinitionTransactionBodyBuilder {
pub id: MosaicIdDto,
pub duration: BlockDurationDto,
pub nonce: MosaicNonceDto,
pub flags: Vec<MosaicFlagsDto>,
pub divisibility: u8,
}
Expand description
Binary layout for a mosaic definition transaction.
Fields§
§id: MosaicIdDto
Mosaic identifier.
duration: BlockDurationDto
Mosaic duration.
nonce: MosaicNonceDto
Mosaic nonce.
flags: Vec<MosaicFlagsDto>
Mosaic flags.
divisibility: u8
Mosaic divisibility.
Implementations§
Source§impl MosaicDefinitionTransactionBodyBuilder
impl MosaicDefinitionTransactionBodyBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of MosaicDefinitionTransactionBodyBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A MosaicDefinitionTransactionBodyBuilder.
Trait Implementations§
Source§impl Clone for MosaicDefinitionTransactionBodyBuilder
impl Clone for MosaicDefinitionTransactionBodyBuilder
Source§fn clone(&self) -> MosaicDefinitionTransactionBodyBuilder
fn clone(&self) -> MosaicDefinitionTransactionBodyBuilder
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 MosaicDefinitionTransactionBodyBuilder
impl RefUnwindSafe for MosaicDefinitionTransactionBodyBuilder
impl Send for MosaicDefinitionTransactionBodyBuilder
impl Sync for MosaicDefinitionTransactionBodyBuilder
impl Unpin for MosaicDefinitionTransactionBodyBuilder
impl UnwindSafe for MosaicDefinitionTransactionBodyBuilder
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