Struct ckb_jsonrpc_types::CellDep
source · [−]Expand description
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
sourceimpl<'de> Deserialize<'de> for CellDep
impl<'de> Deserialize<'de> for CellDep
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 CellDep
impl StructuralEq for CellDep
impl StructuralPartialEq for CellDep
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
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