pub struct NamespaceRegistrationTransactionBuilder {
pub super_object: TransactionBuilder,
pub body: NamespaceRegistrationTransactionBodyBuilder,
}
Expand description
Binary layout for a non-embedded namespace registration transaction.
Fields§
§super_object: TransactionBuilder
Transaction.
body: NamespaceRegistrationTransactionBodyBuilder
Namespace registration transaction body.
Implementations§
Source§impl NamespaceRegistrationTransactionBuilder
impl NamespaceRegistrationTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of NamespaceRegistrationTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A NamespaceRegistrationTransactionBuilder.
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 NamespaceRegistrationTransactionBuilder
impl Clone for NamespaceRegistrationTransactionBuilder
Source§fn clone(&self) -> NamespaceRegistrationTransactionBuilder
fn clone(&self) -> NamespaceRegistrationTransactionBuilder
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 NamespaceRegistrationTransactionBuilder
impl RefUnwindSafe for NamespaceRegistrationTransactionBuilder
impl Send for NamespaceRegistrationTransactionBuilder
impl Sync for NamespaceRegistrationTransactionBuilder
impl Unpin for NamespaceRegistrationTransactionBuilder
impl UnwindSafe for NamespaceRegistrationTransactionBuilder
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