pub struct EmbeddedNamespaceMetadataTransactionBuilder {
pub super_object: EmbeddedTransactionBuilder,
pub body: NamespaceMetadataTransactionBodyBuilder,
}
Expand description
Binary layout for an embedded namespace metadata transaction.
Fields§
§super_object: EmbeddedTransactionBuilder
Embedded transaction.
body: NamespaceMetadataTransactionBodyBuilder
Namespace metadata transaction body.
Implementations§
Source§impl EmbeddedNamespaceMetadataTransactionBuilder
impl EmbeddedNamespaceMetadataTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of EmbeddedNamespaceMetadataTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A EmbeddedNamespaceMetadataTransactionBuilder.
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_target_namespace_id(&self) -> NamespaceIdDto
pub fn set_target_namespace_id(&mut self, target_namespace_id: NamespaceIdDto)
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 EmbeddedNamespaceMetadataTransactionBuilder
impl Clone for EmbeddedNamespaceMetadataTransactionBuilder
Source§fn clone(&self) -> EmbeddedNamespaceMetadataTransactionBuilder
fn clone(&self) -> EmbeddedNamespaceMetadataTransactionBuilder
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 EmbeddedNamespaceMetadataTransactionBuilder
impl RefUnwindSafe for EmbeddedNamespaceMetadataTransactionBuilder
impl Send for EmbeddedNamespaceMetadataTransactionBuilder
impl Sync for EmbeddedNamespaceMetadataTransactionBuilder
impl Unpin for EmbeddedNamespaceMetadataTransactionBuilder
impl UnwindSafe for EmbeddedNamespaceMetadataTransactionBuilder
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