Struct ckb_types::core::cell::CellMeta [−][src]
pub struct CellMeta { pub cell_output: CellOutput, pub out_point: OutPoint, pub transaction_info: Option<TransactionInfo>, pub data_bytes: u64, pub mem_cell_data: Option<Bytes>, pub mem_cell_data_hash: Option<Byte32>, }
Expand description
TODO(doc): @quake
Fields
cell_output: CellOutput
TODO(doc): @quake
out_point: OutPoint
TODO(doc): @quake
transaction_info: Option<TransactionInfo>
TODO(doc): @quake
data_bytes: u64
TODO(doc): @quake
mem_cell_data: Option<Bytes>
In memory cell data A live cell either exists in memory or DB must check DB if this field is None
mem_cell_data_hash: Option<Byte32>
memory cell data hash A live cell either exists in memory or DB must check DB if this field is None
Implementations
impl CellMeta
[src]
impl CellMeta
[src]pub fn is_cellbase(&self) -> bool
[src]
pub fn is_cellbase(&self) -> bool
[src]TODO(doc): @quake
pub fn occupied_capacity(&self) -> CapacityResult<Capacity>
[src]
pub fn occupied_capacity(&self) -> CapacityResult<Capacity>
[src]TODO(doc): @quake
pub fn is_lack_of_capacity(&self) -> CapacityResult<bool>
[src]
pub fn is_lack_of_capacity(&self) -> CapacityResult<bool>
[src]TODO(doc): @quake
Trait Implementations
impl Eq for CellMeta
[src]
impl StructuralEq for CellMeta
[src]
impl StructuralPartialEq for CellMeta
[src]
Auto Trait Implementations
impl RefUnwindSafe for CellMeta
impl Send for CellMeta
impl Sync for CellMeta
impl Unpin for CellMeta
impl UnwindSafe for CellMeta
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,