pub struct EmbeddedNamespaceRegistrationTransactionBuilder {
pub super_object: EmbeddedTransactionBuilder,
pub body: NamespaceRegistrationTransactionBodyBuilder,
}
Expand description
Binary layout for an embedded namespace registration transaction.
Fields§
§super_object: EmbeddedTransactionBuilder
Embedded transaction.
body: NamespaceRegistrationTransactionBodyBuilder
Namespace registration transaction body.
Implementations§
Source§impl EmbeddedNamespaceRegistrationTransactionBuilder
impl EmbeddedNamespaceRegistrationTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of EmbeddedNamespaceRegistrationTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A EmbeddedNamespaceRegistrationTransactionBuilder.
pub fn get_duration(&self) -> Option<BlockDurationDto>
pub fn set_duration(&mut self, duration: BlockDurationDto)
pub fn get_parent_id(&self) -> Option<NamespaceIdDto>
pub fn set_parent_id(&mut self, parent_id: NamespaceIdDto)
pub fn get_id(&self) -> NamespaceIdDto
pub fn set_id(&mut self, id: NamespaceIdDto)
pub fn get_registration_type(&self) -> NamespaceRegistrationTypeDto
pub fn set_registration_type( &mut self, registration_type: NamespaceRegistrationTypeDto, )
pub fn get_name(&self) -> Vec<u8> ⓘ
pub fn set_name(&mut self, name: Vec<u8>)
Trait Implementations§
Source§impl Clone for EmbeddedNamespaceRegistrationTransactionBuilder
impl Clone for EmbeddedNamespaceRegistrationTransactionBuilder
Source§fn clone(&self) -> EmbeddedNamespaceRegistrationTransactionBuilder
fn clone(&self) -> EmbeddedNamespaceRegistrationTransactionBuilder
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 EmbeddedNamespaceRegistrationTransactionBuilder
impl RefUnwindSafe for EmbeddedNamespaceRegistrationTransactionBuilder
impl Send for EmbeddedNamespaceRegistrationTransactionBuilder
impl Sync for EmbeddedNamespaceRegistrationTransactionBuilder
impl Unpin for EmbeddedNamespaceRegistrationTransactionBuilder
impl UnwindSafe for EmbeddedNamespaceRegistrationTransactionBuilder
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