Struct flow_sdk::entities::Chunk [−][src]
pub struct Chunk {
pub start_state: Box<[u8]>,
pub event_collection: Box<[u8]>,
pub block_id: Box<[u8]>,
pub total_computation_used: u64,
pub number_of_transactions: u64,
pub index: u64,
pub end_state: Box<[u8]>,
}
Expand description
Chunk describes execution information for given collection in a block.
Fields
start_state: Box<[u8]>
State commitment at start of the chunk.
event_collection: Box<[u8]>
Hash of events emitted by transactions in this chunk.
block_id: Box<[u8]>
Block id of the execution result this chunk belongs to.
total_computation_used: u64
Total amount of computation used by running all Transactions in this chunk.
number_of_transactions: u64
Number of transactions inside the chunk.
index: u64
Index of chunk inside a block (zero-based)
end_state: Box<[u8]>
State commitment after executing chunk
Trait Implementations
type Wire = LengthDelimitedWire
If this is a message
, call merge()
on all fields,
if this is repeated
, extend this with the elements of other
.
for all other types simply overwrite this with other
, which is the default. Read more
fn merge_from<B>(
&mut self,
deserializer: &mut Deserializer<'de, B>
) -> Result<(), DecodingError> where
B: Buf,
fn decode_field<B: Buf>(
&mut self,
d: &mut Deserializer<'de, B>,
tag: Self::Tag
) -> Result<()>
fn decode_field<B: Buf>(
&mut self,
d: &mut Deserializer<'de, B>,
tag: Self::Tag
) -> Result<()>
Decodes a field with the given tag. Read more
fn decode<B>(
deserializer: &mut Deserializer<'de, B>
) -> Result<Self, DecodingError> where
B: Buf,
Self: Default,
Auto Trait Implementations
impl RefUnwindSafe for Chunk
impl UnwindSafe for Chunk
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more