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: CellIndexImplementations§
Trait Implementations§
Source§impl Clone for LiveCellInfo
impl Clone for LiveCellInfo
Source§fn clone(&self) -> LiveCellInfo
fn clone(&self) -> LiveCellInfo
Returns a duplicate 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 for LiveCellInfo
impl PartialEq for LiveCellInfo
Source§impl Serialize for LiveCellInfo
impl Serialize for LiveCellInfo
impl Eq for LiveCellInfo
impl StructuralPartialEq for LiveCellInfo
Auto Trait Implementations§
impl Freeze for LiveCellInfo
impl RefUnwindSafe for LiveCellInfo
impl Send for LiveCellInfo
impl Sync for LiveCellInfo
impl Unpin for LiveCellInfo
impl UnwindSafe for LiveCellInfo
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