Struct ckb_jsonrpc_types::TransactionWithStatus [−][src]
pub struct TransactionWithStatus {
pub transaction: Option<TransactionView>,
pub tx_status: TxStatus,
}Expand description
The JSON view of a transaction as well as its status.
Fields
transaction: Option<TransactionView>The transaction.
tx_status: TxStatusThe Transaction status.
Implementations
Build with pending status
Build with proposed status
Build with committed status
Build with rejected status
Build with rejected status
Build with status only
Returns true if the tx_status is Unknown.
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for TransactionWithStatus
impl Send for TransactionWithStatus
impl Sync for TransactionWithStatus
impl Unpin for TransactionWithStatus
impl UnwindSafe for TransactionWithStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
