pub struct SecretProofTransactionBodyBuilder {
pub recipient_address: UnresolvedAddressDto,
pub secret: Hash256Dto,
pub hash_algorithm: LockHashAlgorithmDto,
pub proof: Vec<u8>,
}
Expand description
Binary layout for a secret proof transaction.
Fields§
§recipient_address: UnresolvedAddressDto
Locked mosaic recipient address.
secret: Hash256Dto
Secret.
hash_algorithm: LockHashAlgorithmDto
Hash algorithm.
proof: Vec<u8>
Proof data.
Implementations§
Source§impl SecretProofTransactionBodyBuilder
impl SecretProofTransactionBodyBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of SecretProofTransactionBodyBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A SecretProofTransactionBodyBuilder.
Trait Implementations§
Source§impl Clone for SecretProofTransactionBodyBuilder
impl Clone for SecretProofTransactionBodyBuilder
Source§fn clone(&self) -> SecretProofTransactionBodyBuilder
fn clone(&self) -> SecretProofTransactionBodyBuilder
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 SecretProofTransactionBodyBuilder
impl RefUnwindSafe for SecretProofTransactionBodyBuilder
impl Send for SecretProofTransactionBodyBuilder
impl Sync for SecretProofTransactionBodyBuilder
impl Unpin for SecretProofTransactionBodyBuilder
impl UnwindSafe for SecretProofTransactionBodyBuilder
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