[][src]Struct ckb_jsonrpc_types::TransactionWithStatus

pub struct TransactionWithStatus {
    pub transaction: TransactionView,
    pub tx_status: TxStatus,
}

The JSON view of a transaction as well as its status.

Fields

transaction: TransactionView

The transaction.

tx_status: TxStatus

The Transaction status.

Implementations

impl TransactionWithStatus[src]

pub fn with_pending(tx: TransactionView) -> Self[src]

Build with pending status

pub fn with_proposed(tx: TransactionView) -> Self[src]

Build with proposed status

pub fn with_committed(tx: TransactionView, hash: H256) -> Self[src]

Build with committed status

Trait Implementations

impl Clone for TransactionWithStatus[src]

impl Debug for TransactionWithStatus[src]

impl<'de> Deserialize<'de> for TransactionWithStatus[src]

impl Eq for TransactionWithStatus[src]

impl Hash for TransactionWithStatus[src]

impl PartialEq<TransactionWithStatus> for TransactionWithStatus[src]

impl Serialize for TransactionWithStatus[src]

impl StructuralEq for TransactionWithStatus[src]

impl StructuralPartialEq for TransactionWithStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,