pub struct EmbeddedSecretProofTransactionBuilder {
pub super_object: EmbeddedTransactionBuilder,
pub body: SecretProofTransactionBodyBuilder,
}
Expand description
Binary layout for an embedded secret proof transaction.
Fields§
§super_object: EmbeddedTransactionBuilder
Embedded transaction.
body: SecretProofTransactionBodyBuilder
Secret proof transaction body.
Implementations§
Source§impl EmbeddedSecretProofTransactionBuilder
impl EmbeddedSecretProofTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of EmbeddedSecretProofTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A EmbeddedSecretProofTransactionBuilder.
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_hash_algorithm(&self) -> LockHashAlgorithmDto
pub fn set_hash_algorithm(&mut self, hash_algorithm: LockHashAlgorithmDto)
pub fn get_proof(&self) -> Vec<u8> ⓘ
pub fn set_proof(&mut self, proof: Vec<u8>)
Trait Implementations§
Source§impl Clone for EmbeddedSecretProofTransactionBuilder
impl Clone for EmbeddedSecretProofTransactionBuilder
Source§fn clone(&self) -> EmbeddedSecretProofTransactionBuilder
fn clone(&self) -> EmbeddedSecretProofTransactionBuilder
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 EmbeddedSecretProofTransactionBuilder
impl RefUnwindSafe for EmbeddedSecretProofTransactionBuilder
impl Send for EmbeddedSecretProofTransactionBuilder
impl Sync for EmbeddedSecretProofTransactionBuilder
impl Unpin for EmbeddedSecretProofTransactionBuilder
impl UnwindSafe for EmbeddedSecretProofTransactionBuilder
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