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

TODO(doc): @quake

TODO(doc): @quake

TODO(doc): @quake

TODO(doc): @quake

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.