Struct ckb_cli_plugin_protocol::LiveCellInfo
source · pub struct LiveCellInfo {
pub tx_hash: H256,
pub output_index: u32,
pub data_bytes: u64,
pub lock_hash: H256,
pub type_hashes: Option<(H256, H256)>,
pub capacity: u64,
pub number: u64,
pub index: CellIndex,
}
Fields§
§tx_hash: H256
§output_index: u32
§data_bytes: u64
§lock_hash: H256
§type_hashes: Option<(H256, H256)>
§capacity: u64
§number: u64
§index: CellIndex
Implementations§
Trait Implementations§
source§impl Clone for LiveCellInfo
impl Clone for LiveCellInfo
source§fn clone(&self) -> LiveCellInfo
fn clone(&self) -> LiveCellInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LiveCellInfo
impl Debug for LiveCellInfo
source§impl<'de> Deserialize<'de> for LiveCellInfo
impl<'de> Deserialize<'de> for LiveCellInfo
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 Hash for LiveCellInfo
impl Hash for LiveCellInfo
source§impl PartialEq<LiveCellInfo> for LiveCellInfo
impl PartialEq<LiveCellInfo> for LiveCellInfo
source§fn eq(&self, other: &LiveCellInfo) -> bool
fn eq(&self, other: &LiveCellInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.