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