Struct linera_execution::QueryContext
source · pub struct QueryContext {
pub chain_id: ChainId,
pub next_block_height: BlockHeight,
}Fields§
§chain_id: ChainIdThe current chain ID.
next_block_height: BlockHeightThe height of the next block on this chain.
Trait Implementations§
source§impl Clone for QueryContext
impl Clone for QueryContext
source§fn clone(&self) -> QueryContext
fn clone(&self) -> QueryContext
Returns a copy 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 QueryContext
impl Debug for QueryContext
impl Copy for QueryContext
Auto Trait Implementations§
impl Freeze for QueryContext
impl RefUnwindSafe for QueryContext
impl Send for QueryContext
impl Sync for QueryContext
impl Unpin for QueryContext
impl UnwindSafe for QueryContext
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