Struct ckb_jsonrpc_types::OutPoint
source · pub struct OutPoint {
pub tx_hash: H256,
pub index: Uint32,
}Expand description
Reference to a cell via transaction hash and output index.
Examples
{
"index": "0x0",
"tx_hash": "0x365698b50ca0da75dca2c87f9e7b563811d3b5813736b8cc62cc3b106faceb17"
}Fields§
§tx_hash: H256Transaction hash in which the cell is an output.
index: Uint32The output index of the cell in the transaction specified by tx_hash.
Trait Implementations§
source§impl<'de> Deserialize<'de> for OutPoint
impl<'de> Deserialize<'de> for OutPoint
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<OutPoint> for OutPoint
impl PartialEq<OutPoint> for OutPoint
impl Eq for OutPoint
impl StructuralEq for OutPoint
impl StructuralPartialEq for OutPoint
Auto Trait Implementations§
impl RefUnwindSafe for OutPoint
impl Send for OutPoint
impl Sync for OutPoint
impl Unpin for OutPoint
impl UnwindSafe for OutPoint
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