pub struct SignedTransactionWithProof {
pub signed_tx: SignedTransaction,
pub proof: Proof,
}
Expand description
Signed consensus transaction with a proof of its inclusion in a block.
Fields§
§signed_tx: SignedTransaction
Signed transaction.
proof: Proof
Proof of transaction inclusion in a block.
Trait Implementations§
source§impl Debug for SignedTransactionWithProof
impl Debug for SignedTransactionWithProof
source§impl Decode for SignedTransactionWithProof
impl Decode for SignedTransactionWithProof
source§fn try_default() -> Result<Self, DecodeError>
fn try_default() -> Result<Self, DecodeError>
Try to decode from a missing/null/undefined value.
source§fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>
fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>
Try to decode from a given CBOR value.
§fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>where
Self: Sized,
fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>where
Self: Sized,
Try to decode from a given CBOR value, calling
try_default
in case the value is null or
undefined.source§impl Default for SignedTransactionWithProof
impl Default for SignedTransactionWithProof
source§fn default() -> SignedTransactionWithProof
fn default() -> SignedTransactionWithProof
Returns the “default value” for a type. Read more
source§impl Encode for SignedTransactionWithProof
impl Encode for SignedTransactionWithProof
source§impl EncodeAsMap for SignedTransactionWithProof
impl EncodeAsMap for SignedTransactionWithProof
§fn into_cbor_value_map(self) -> Valuewhere
Self: Sized,
fn into_cbor_value_map(self) -> Valuewhere
Self: Sized,
Encode the type into a CBOR Map.
§fn into_cbor_map(self) -> Vec<(Value, Value)>where
Self: Sized,
fn into_cbor_map(self) -> Vec<(Value, Value)>where
Self: Sized,
Encode the type into a CBOR Map, returning the map items.
Auto Trait Implementations§
impl Freeze for SignedTransactionWithProof
impl RefUnwindSafe for SignedTransactionWithProof
impl Send for SignedTransactionWithProof
impl Sync for SignedTransactionWithProof
impl Unpin for SignedTransactionWithProof
impl UnwindSafe for SignedTransactionWithProof
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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