pub struct EmbeddedMosaicDefinitionTransactionBuilder {
pub super_object: EmbeddedTransactionBuilder,
pub body: MosaicDefinitionTransactionBodyBuilder,
}
Expand description
Binary layout for an embedded mosaic definition transaction.
Fields§
§super_object: EmbeddedTransactionBuilder
Embedded transaction.
body: MosaicDefinitionTransactionBodyBuilder
Mosaic definition transaction body.
Implementations§
Source§impl EmbeddedMosaicDefinitionTransactionBuilder
impl EmbeddedMosaicDefinitionTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of EmbeddedMosaicDefinitionTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A EmbeddedMosaicDefinitionTransactionBuilder.
pub fn get_id(&self) -> MosaicIdDto
pub fn set_id(&mut self, id: MosaicIdDto)
pub fn get_duration(&self) -> BlockDurationDto
pub fn set_duration(&mut self, duration: BlockDurationDto)
pub fn get_nonce(&self) -> MosaicNonceDto
pub fn set_nonce(&mut self, nonce: MosaicNonceDto)
pub fn get_flags(&self) -> Vec<MosaicFlagsDto>
pub fn set_flags(&mut self, flags: Vec<MosaicFlagsDto>)
pub fn get_divisibility(&self) -> u8
pub fn set_divisibility(&mut self, divisibility: u8)
Trait Implementations§
Source§impl Clone for EmbeddedMosaicDefinitionTransactionBuilder
impl Clone for EmbeddedMosaicDefinitionTransactionBuilder
Source§fn clone(&self) -> EmbeddedMosaicDefinitionTransactionBuilder
fn clone(&self) -> EmbeddedMosaicDefinitionTransactionBuilder
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 EmbeddedMosaicDefinitionTransactionBuilder
impl RefUnwindSafe for EmbeddedMosaicDefinitionTransactionBuilder
impl Send for EmbeddedMosaicDefinitionTransactionBuilder
impl Sync for EmbeddedMosaicDefinitionTransactionBuilder
impl Unpin for EmbeddedMosaicDefinitionTransactionBuilder
impl UnwindSafe for EmbeddedMosaicDefinitionTransactionBuilder
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