Struct solana_runtime::commitment::CommitmentSlots
source · pub struct CommitmentSlots {
pub slot: Slot,
pub root: Slot,
pub highest_confirmed_slot: Slot,
pub highest_confirmed_root: Slot,
}Fields§
§slot: SlotThe slot of the bank from which all other slots were calculated.
root: SlotThe current node root
highest_confirmed_slot: SlotHighest cluster-confirmed slot
highest_confirmed_root: SlotHighest cluster-confirmed root
Implementations§
source§impl CommitmentSlots
impl CommitmentSlots
pub fn new_from_slot(slot: Slot) -> Self
Trait Implementations§
source§impl Clone for CommitmentSlots
impl Clone for CommitmentSlots
source§fn clone(&self) -> CommitmentSlots
fn clone(&self) -> CommitmentSlots
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 Default for CommitmentSlots
impl Default for CommitmentSlots
source§fn default() -> CommitmentSlots
fn default() -> CommitmentSlots
Returns the “default value” for a type. Read more