Struct ckb_sdk_types::transaction::Resource[][src]

pub struct Resource { /* fields omitted */ }

Implementations

Trait Implementations

load cell_data from memory, fallback to storage access

fetch cell_data from storage

fetch cell_data_hash from storage

load cell_data_hash from memory, fallback to storage access

TODO(doc): @quake

Check if header in main chain

TODO(doc): @quake

Return timestamp and block_number of the corresponding block_hash, and hash of parent block

Return past block median time, including the timestamp of the given one

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 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.