[][src]Struct ckb_jsonrpc_types::CellInput

pub struct CellInput {
    pub since: Uint64,
    pub previous_output: OutPoint,
}

The input cell of a transaction.

Examples

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

Fields

since: Uint64

Restrict when the transaction can be committed into the chain.

See the RFC Transaction valid since.

previous_output: OutPoint

Reference to the input cell.

Trait Implementations

impl Clone for CellInput[src]

impl Debug for CellInput[src]

impl Default for CellInput[src]

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

impl Eq for CellInput[src]

impl From<CellInput> for CellInput[src]

impl From<CellInput> for CellInput[src]

impl Hash for CellInput[src]

impl PartialEq<CellInput> for CellInput[src]

impl Serialize for CellInput[src]

impl StructuralEq for CellInput[src]

impl StructuralPartialEq for CellInput[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.