Struct ckb_jsonrpc_types::CellDep[][src]

pub struct CellDep {
    pub out_point: OutPoint,
    pub dep_type: DepType,
}

The cell dependency of a transaction.

Examples

{
  "dep_type": "code",
  "out_point": {
    "index": "0x0",
    "tx_hash": "0xa4037a893eb48e18ed4ef61034ce26eba9c585f15c9cee102ae58505565eccc3"
  }
}

Fields

out_point: OutPoint

Reference to the cell.

dep_type: DepType

Dependency type.

Trait Implementations

impl Clone for CellDep[src]

impl Debug for CellDep[src]

impl Default for CellDep[src]

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

impl Eq for CellDep[src]

impl From<CellDep> for CellDep[src]

impl Hash for CellDep[src]

impl PartialEq<CellDep> for CellDep[src]

impl Serialize for CellDep[src]

impl StructuralEq for CellDep[src]

impl StructuralPartialEq for CellDep[src]

Auto Trait Implementations

impl RefUnwindSafe for CellDep

impl Send for CellDep

impl Sync for CellDep

impl Unpin for CellDep

impl UnwindSafe for CellDep

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>,