pub struct HashLockInfoBuilder { /* private fields */ }
Expand description
Binary layout for hash lock transaction info.
Implementations§
Source§impl HashLockInfoBuilder
impl HashLockInfoBuilder
Sourcepub fn from_binary(_bytes: &[u8]) -> Self
pub fn from_binary(_bytes: &[u8]) -> Self
Creates an instance of HashLockInfoBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A HashLockInfoBuilder.
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(&self) -> Hash256Dto
pub fn get_hash(&self) -> Hash256Dto
Trait Implementations§
Source§impl Clone for HashLockInfoBuilder
impl Clone for HashLockInfoBuilder
Source§fn clone(&self) -> HashLockInfoBuilder
fn clone(&self) -> HashLockInfoBuilder
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 HashLockInfoBuilder
impl RefUnwindSafe for HashLockInfoBuilder
impl Send for HashLockInfoBuilder
impl Sync for HashLockInfoBuilder
impl Unpin for HashLockInfoBuilder
impl UnwindSafe for HashLockInfoBuilder
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