pub struct MosaicSupplyChangeTransactionBuilder {
pub super_object: TransactionBuilder,
pub body: MosaicSupplyChangeTransactionBodyBuilder,
}Expand description
Binary layout for a non-embedded mosaic supply change transaction.
Fields§
§super_object: TransactionBuilderTransaction.
body: MosaicSupplyChangeTransactionBodyBuilderMosaic supply change transaction body.
Implementations§
Source§impl MosaicSupplyChangeTransactionBuilder
impl MosaicSupplyChangeTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of MosaicSupplyChangeTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A MosaicSupplyChangeTransactionBuilder.
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 MosaicSupplyChangeTransactionBuilder
impl Clone for MosaicSupplyChangeTransactionBuilder
Source§fn clone(&self) -> MosaicSupplyChangeTransactionBuilder
fn clone(&self) -> MosaicSupplyChangeTransactionBuilder
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 MosaicSupplyChangeTransactionBuilder
impl RefUnwindSafe for MosaicSupplyChangeTransactionBuilder
impl Send for MosaicSupplyChangeTransactionBuilder
impl Sync for MosaicSupplyChangeTransactionBuilder
impl Unpin for MosaicSupplyChangeTransactionBuilder
impl UnwindSafe for MosaicSupplyChangeTransactionBuilder
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