pub enum SlotStatsOptions {
Slot {
slot: u64,
},
Range {
from_slot: u64,
to_slot: u64,
},
}Expand description
Slot statistics query by one slot or inclusive range.
Variants§
Trait Implementations§
Source§impl Clone for SlotStatsOptions
impl Clone for SlotStatsOptions
Source§impl Debug for SlotStatsOptions
impl Debug for SlotStatsOptions
Source§impl<'de> Deserialize<'de> for SlotStatsOptions
impl<'de> Deserialize<'de> for SlotStatsOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SlotStatsOptions
Source§impl PartialEq for SlotStatsOptions
impl PartialEq for SlotStatsOptions
Source§impl Serialize for SlotStatsOptions
impl Serialize for SlotStatsOptions
impl StructuralPartialEq for SlotStatsOptions
Auto Trait Implementations§
impl Freeze for SlotStatsOptions
impl RefUnwindSafe for SlotStatsOptions
impl Send for SlotStatsOptions
impl Sync for SlotStatsOptions
impl Unpin for SlotStatsOptions
impl UnsafeUnpin for SlotStatsOptions
impl UnwindSafe for SlotStatsOptions
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