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