Struct ckb_jsonrpc_types::CellDep
source · pub struct CellDep {
pub out_point: OutPoint,
pub dep_type: DepType,
}Expand description
The cell dependency of a transaction.
Examples
{
"dep_type": "code",
"out_point": {
"index": "0x0",
"tx_hash": "0xa4037a893eb48e18ed4ef61034ce26eba9c585f15c9cee102ae58505565eccc3"
}
}Fields§
§out_point: OutPointReference to the cell.
dep_type: DepTypeDependency type.
Trait Implementations§
source§impl<'de> Deserialize<'de> for CellDep
impl<'de> Deserialize<'de> for CellDep
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<CellDep> for CellDep
impl PartialEq<CellDep> for CellDep
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§
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