pub struct AccountMetadataTransactionBuilder {
pub super_object: TransactionBuilder,
pub body: AccountMetadataTransactionBodyBuilder,
}
Expand description
Binary layout for a non-embedded account metadata transaction.
Fields§
§super_object: TransactionBuilder
Transaction.
body: AccountMetadataTransactionBodyBuilder
Account metadata transaction body.
Implementations§
Source§impl AccountMetadataTransactionBuilder
impl AccountMetadataTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of AccountMetadataTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A AccountMetadataTransactionBuilder.
pub fn get_target_address(&self) -> UnresolvedAddressDto
pub fn set_target_address(&mut self, target_address: UnresolvedAddressDto)
pub fn get_scoped_metadata_key(&self) -> u64
pub fn set_scoped_metadata_key(&mut self, scoped_metadata_key: u64)
pub fn get_value_size_delta(&self) -> u16
pub fn set_value_size_delta(&mut self, value_size_delta: u16)
pub fn get_value(&self) -> Vec<u8> ⓘ
pub fn set_value(&mut self, value: Vec<u8>)
Trait Implementations§
Source§impl Clone for AccountMetadataTransactionBuilder
impl Clone for AccountMetadataTransactionBuilder
Source§fn clone(&self) -> AccountMetadataTransactionBuilder
fn clone(&self) -> AccountMetadataTransactionBuilder
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 AccountMetadataTransactionBuilder
impl RefUnwindSafe for AccountMetadataTransactionBuilder
impl Send for AccountMetadataTransactionBuilder
impl Sync for AccountMetadataTransactionBuilder
impl Unpin for AccountMetadataTransactionBuilder
impl UnwindSafe for AccountMetadataTransactionBuilder
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