pub struct SecretLockInfoBuilder { /* private fields */ }
Expand description
Binary layout for serialized lock transaction.
Implementations§
Source§impl SecretLockInfoBuilder
impl SecretLockInfoBuilder
Sourcepub fn from_binary(_bytes: &[u8]) -> Self
pub fn from_binary(_bytes: &[u8]) -> Self
Creates an instance of SecretLockInfoBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A SecretLockInfoBuilder.
Sourcepub fn get_owner_address(&self) -> AddressDto
pub fn get_owner_address(&self) -> AddressDto
Sourcepub fn get_mosaic(&self) -> MosaicBuilder
pub fn get_mosaic(&self) -> MosaicBuilder
Sourcepub fn get_end_height(&self) -> HeightDto
pub fn get_end_height(&self) -> HeightDto
Sourcepub fn get_status(&self) -> LockStatusDto
pub fn get_status(&self) -> LockStatusDto
Gets flag indicating whether or not the lock was already used.
§Returns
A Flag indicating whether or not the lock was already used.
Sourcepub fn get_hash_algorithm(&self) -> LockHashAlgorithmDto
pub fn get_hash_algorithm(&self) -> LockHashAlgorithmDto
Sourcepub fn get_secret(&self) -> Hash256Dto
pub fn get_secret(&self) -> Hash256Dto
Sourcepub fn get_recipient(&self) -> AddressDto
pub fn get_recipient(&self) -> AddressDto
Trait Implementations§
Source§impl Clone for SecretLockInfoBuilder
impl Clone for SecretLockInfoBuilder
Source§fn clone(&self) -> SecretLockInfoBuilder
fn clone(&self) -> SecretLockInfoBuilder
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 SecretLockInfoBuilder
impl RefUnwindSafe for SecretLockInfoBuilder
impl Send for SecretLockInfoBuilder
impl Sync for SecretLockInfoBuilder
impl Unpin for SecretLockInfoBuilder
impl UnwindSafe for SecretLockInfoBuilder
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