pub struct EmbeddedSecretLockTransactionBuilder {
pub super_object: EmbeddedTransactionBuilder,
pub body: SecretLockTransactionBodyBuilder,
}
Expand description
Binary layout for an embedded secret lock transaction.
Fields§
§super_object: EmbeddedTransactionBuilder
Embedded transaction.
body: SecretLockTransactionBodyBuilder
Secret lock transaction body.
Implementations§
Source§impl EmbeddedSecretLockTransactionBuilder
impl EmbeddedSecretLockTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of EmbeddedSecretLockTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A EmbeddedSecretLockTransactionBuilder.
pub fn get_recipient_address(&self) -> UnresolvedAddressDto
pub fn set_recipient_address(&mut self, recipient_address: UnresolvedAddressDto)
pub fn get_secret(&self) -> Hash256Dto
pub fn set_secret(&mut self, secret: Hash256Dto)
pub fn get_mosaic(&self) -> UnresolvedMosaicBuilder
pub fn set_mosaic(&mut self, mosaic: UnresolvedMosaicBuilder)
pub fn get_duration(&self) -> BlockDurationDto
pub fn set_duration(&mut self, duration: BlockDurationDto)
pub fn get_hash_algorithm(&self) -> LockHashAlgorithmDto
pub fn set_hash_algorithm(&mut self, hash_algorithm: LockHashAlgorithmDto)
Trait Implementations§
Source§impl Clone for EmbeddedSecretLockTransactionBuilder
impl Clone for EmbeddedSecretLockTransactionBuilder
Source§fn clone(&self) -> EmbeddedSecretLockTransactionBuilder
fn clone(&self) -> EmbeddedSecretLockTransactionBuilder
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 EmbeddedSecretLockTransactionBuilder
impl RefUnwindSafe for EmbeddedSecretLockTransactionBuilder
impl Send for EmbeddedSecretLockTransactionBuilder
impl Sync for EmbeddedSecretLockTransactionBuilder
impl Unpin for EmbeddedSecretLockTransactionBuilder
impl UnwindSafe for EmbeddedSecretLockTransactionBuilder
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