pub struct EmbeddedMosaicSupplyChangeTransactionBuilder {
pub super_object: EmbeddedTransactionBuilder,
pub body: MosaicSupplyChangeTransactionBodyBuilder,
}Expand description
Binary layout for an embedded mosaic supply change transaction.
Fields§
§super_object: EmbeddedTransactionBuilderEmbedded transaction.
body: MosaicSupplyChangeTransactionBodyBuilderMosaic supply change transaction body.
Implementations§
Source§impl EmbeddedMosaicSupplyChangeTransactionBuilder
impl EmbeddedMosaicSupplyChangeTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of EmbeddedMosaicSupplyChangeTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A EmbeddedMosaicSupplyChangeTransactionBuilder.
pub fn get_mosaic_id(&self) -> UnresolvedMosaicIdDto
pub fn set_mosaic_id(&mut self, mosaic_id: UnresolvedMosaicIdDto)
pub fn get_delta(&self) -> AmountDto
pub fn set_delta(&mut self, delta: AmountDto)
pub fn get_action(&self) -> MosaicSupplyChangeActionDto
pub fn set_action(&mut self, action: MosaicSupplyChangeActionDto)
Trait Implementations§
Source§impl Clone for EmbeddedMosaicSupplyChangeTransactionBuilder
impl Clone for EmbeddedMosaicSupplyChangeTransactionBuilder
Source§fn clone(&self) -> EmbeddedMosaicSupplyChangeTransactionBuilder
fn clone(&self) -> EmbeddedMosaicSupplyChangeTransactionBuilder
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 EmbeddedMosaicSupplyChangeTransactionBuilder
impl RefUnwindSafe for EmbeddedMosaicSupplyChangeTransactionBuilder
impl Send for EmbeddedMosaicSupplyChangeTransactionBuilder
impl Sync for EmbeddedMosaicSupplyChangeTransactionBuilder
impl Unpin for EmbeddedMosaicSupplyChangeTransactionBuilder
impl UnwindSafe for EmbeddedMosaicSupplyChangeTransactionBuilder
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