pub struct TransferTransactionBodyBuilder {
pub recipient_address: UnresolvedAddressDto,
pub mosaics: Vec<UnresolvedMosaicBuilder>,
pub message: Vec<u8>,
}
Expand description
Binary layout for a transfer transaction.
Fields§
§recipient_address: UnresolvedAddressDto
Recipient address.
mosaics: Vec<UnresolvedMosaicBuilder>
Attached mosaics.
message: Vec<u8>
Attached message.
Implementations§
Source§impl TransferTransactionBodyBuilder
impl TransferTransactionBodyBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of TransferTransactionBodyBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A TransferTransactionBodyBuilder.
Trait Implementations§
Source§impl Clone for TransferTransactionBodyBuilder
impl Clone for TransferTransactionBodyBuilder
Source§fn clone(&self) -> TransferTransactionBodyBuilder
fn clone(&self) -> TransferTransactionBodyBuilder
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 TransferTransactionBodyBuilder
impl RefUnwindSafe for TransferTransactionBodyBuilder
impl Send for TransferTransactionBodyBuilder
impl Sync for TransferTransactionBodyBuilder
impl Unpin for TransferTransactionBodyBuilder
impl UnwindSafe for TransferTransactionBodyBuilder
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