Enum ckb_jsonrpc_types::DepType[][src]

pub enum DepType {
    Code,
    DepGroup,
}

The dep cell type. Allowed values: "code" and "dep_group".

Variants

Code

Type "code".

Use the cell itself as the dep cell.

DepGroup

Type "dep_group".

The cell is a dep group which members are cells. These members are used as dep cells instead of the group itself.

The dep group stores the array of OutPoints serialized via molecule in the cell data. Each OutPoint points to one cell member.

Trait Implementations

impl Clone for DepType[src]

impl Debug for DepType[src]

impl Default for DepType[src]

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

impl Eq for DepType[src]

impl From<DepType> for DepType[src]

impl Hash for DepType[src]

impl PartialEq<DepType> for DepType[src]

impl Serialize for DepType[src]

impl StructuralEq for DepType[src]

impl StructuralPartialEq for DepType[src]

Auto Trait Implementations

impl RefUnwindSafe for DepType

impl Send for DepType

impl Sync for DepType

impl Unpin for DepType

impl UnwindSafe for DepType

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