pub struct StateProofTransactionBuilder { /* private fields */ }
Expand description
Builder for StateProofTransactionFields
.
Implementations§
Source§impl StateProofTransactionBuilder
impl StateProofTransactionBuilder
pub fn header(&mut self, value: TransactionHeader) -> &mut Self
pub fn state_proof_type(&mut self, value: u64) -> &mut Self
pub fn state_proof(&mut self, value: StateProof) -> &mut Self
pub fn message(&mut self, value: StateProofMessage) -> &mut Self
Sourcepub fn build_fields(
&self,
) -> Result<StateProofTransactionFields, StateProofTransactionBuilderError>
pub fn build_fields( &self, ) -> Result<StateProofTransactionFields, StateProofTransactionBuilderError>
Source§impl StateProofTransactionBuilder
impl StateProofTransactionBuilder
pub fn build(&self) -> Result<Transaction, StateProofTransactionBuilderError>
Trait Implementations§
Source§impl Clone for StateProofTransactionBuilder
impl Clone for StateProofTransactionBuilder
Source§fn clone(&self) -> StateProofTransactionBuilder
fn clone(&self) -> StateProofTransactionBuilder
Returns a copy 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 StateProofTransactionBuilder
impl RefUnwindSafe for StateProofTransactionBuilder
impl Send for StateProofTransactionBuilder
impl Sync for StateProofTransactionBuilder
impl Unpin for StateProofTransactionBuilder
impl UnwindSafe for StateProofTransactionBuilder
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