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 OutPoint
s serialized via molecule in the cell data.
Each OutPoint
points to one cell member.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for DepType
impl<'de> Deserialize<'de> for DepType
sourcefn 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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more