Enum ckb_jsonrpc_types::DepType
source · pub enum DepType {
Code,
DepGroup,
}Expand description
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§
source§impl<'de> Deserialize<'de> for DepType
impl<'de> Deserialize<'de> for DepType
source§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
source§impl PartialEq<DepType> for DepType
impl PartialEq<DepType> for DepType
impl Eq for DepType
impl StructuralEq for DepType
impl StructuralPartialEq for DepType
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more