pub struct TxEnvelope {
pub hash: String,
pub tx: String,
}Expand description
A resolved transaction envelope returned by the TRP resolver.
This structure contains a fully resolved UTxO transaction ready for signing and submission. The hash is computed from the transaction body.
§Fields
hash- The transaction hash (hex-encoded)tx- The CBOR-encoded transaction as a hex string
Fields§
§hash: StringThe transaction hash (hex-encoded, 64 characters).
tx: StringThe CBOR-encoded transaction bytes as a hex string.
Trait Implementations§
Source§impl Clone for TxEnvelope
impl Clone for TxEnvelope
Source§fn clone(&self) -> TxEnvelope
fn clone(&self) -> TxEnvelope
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 moreSource§impl Debug for TxEnvelope
impl Debug for TxEnvelope
Source§impl<'de> Deserialize<'de> for TxEnvelope
impl<'de> Deserialize<'de> for TxEnvelope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TxEnvelope
impl RefUnwindSafe for TxEnvelope
impl Send for TxEnvelope
impl Sync for TxEnvelope
impl Unpin for TxEnvelope
impl UnsafeUnpin for TxEnvelope
impl UnwindSafe for TxEnvelope
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