pub struct AccountMetadataTransactionBodyBuilder {
pub target_address: UnresolvedAddressDto,
pub scoped_metadata_key: u64,
pub value_size_delta: u16,
pub value: Vec<u8>,
}
Expand description
Binary layout for an account metadata transaction.
Fields§
§target_address: UnresolvedAddressDto
Metadata target address.
scoped_metadata_key: u64
Metadata key scoped to source, target and type.
value_size_delta: u16
Change in value size in bytes.
value: Vec<u8>
Difference between existing value and new value \note when there is no existing value, new value is same this value \note when there is an existing value, new value is calculated as xor(previous-value, value).
Implementations§
Source§impl AccountMetadataTransactionBodyBuilder
impl AccountMetadataTransactionBodyBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of AccountMetadataTransactionBodyBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A AccountMetadataTransactionBodyBuilder.
Trait Implementations§
Source§impl Clone for AccountMetadataTransactionBodyBuilder
impl Clone for AccountMetadataTransactionBodyBuilder
Source§fn clone(&self) -> AccountMetadataTransactionBodyBuilder
fn clone(&self) -> AccountMetadataTransactionBodyBuilder
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 AccountMetadataTransactionBodyBuilder
impl RefUnwindSafe for AccountMetadataTransactionBodyBuilder
impl Send for AccountMetadataTransactionBodyBuilder
impl Sync for AccountMetadataTransactionBodyBuilder
impl Unpin for AccountMetadataTransactionBodyBuilder
impl UnwindSafe for AccountMetadataTransactionBodyBuilder
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