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: H256output_index: u32data_bytes: u64lock_hash: H256type_hashes: Option<(H256, H256)>capacity: u64number: u64index: CellIndexImplementations
Trait Implementations
sourceimpl Clone for LiveCellInfo
impl Clone for LiveCellInfo
sourcefn clone(&self) -> LiveCellInfo
fn clone(&self) -> LiveCellInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LiveCellInfo
impl Debug for LiveCellInfo
sourceimpl<'de> Deserialize<'de> for LiveCellInfo
impl<'de> Deserialize<'de> for LiveCellInfo
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
sourceimpl Hash for LiveCellInfo
impl Hash for LiveCellInfo
sourceimpl PartialEq<LiveCellInfo> for LiveCellInfo
impl PartialEq<LiveCellInfo> for LiveCellInfo
sourcefn 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 ==. Read more
sourceimpl Serialize for LiveCellInfo
impl Serialize for LiveCellInfo
impl Eq for LiveCellInfo
impl StructuralEq for LiveCellInfo
impl StructuralPartialEq for LiveCellInfo
Auto Trait Implementations
impl RefUnwindSafe for LiveCellInfo
impl Send for LiveCellInfo
impl Sync for LiveCellInfo
impl Unpin for LiveCellInfo
impl UnwindSafe for LiveCellInfo
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