Struct ckb_jsonrpc_types::OutPoint[][src]

pub struct OutPoint {
    pub tx_hash: H256,
    pub index: Uint32,
}

Reference to a cell via transaction hash and output index.

Examples

{
  "index": "0x0",
  "tx_hash": "0x365698b50ca0da75dca2c87f9e7b563811d3b5813736b8cc62cc3b106faceb17"
}

Fields

tx_hash: H256

Transaction hash in which the cell is an output.

index: Uint32

The output index of the cell in the transaction specified by tx_hash.

Trait Implementations

impl Clone for OutPoint[src]

impl Debug for OutPoint[src]

impl Default for OutPoint[src]

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

impl Eq for OutPoint[src]

impl From<OutPoint> for OutPoint[src]

impl Hash for OutPoint[src]

impl PartialEq<OutPoint> for OutPoint[src]

impl Serialize for OutPoint[src]

impl StructuralEq for OutPoint[src]

impl StructuralPartialEq for OutPoint[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>,