pub struct AvailableRange {
pub bundle_start_slot: u64,
pub bundle_start_slot_utc: Option<String>,
pub max_bundle_end_slot: Option<u64>,
pub max_bundle_end_slot_utc: Option<String>,
pub max_bundle_size: Option<u64>,
pub kind: Option<BundleKind>,
pub scope: Option<RangeScope>,
}Expand description
One contiguous block range available on the history clerk.
Fields§
§bundle_start_slot: u64§bundle_start_slot_utc: Option<String>§max_bundle_end_slot: Option<u64>§max_bundle_end_slot_utc: Option<String>§max_bundle_size: Option<u64>§kind: Option<BundleKind>What the range can be used for. None from a server that predates the
field, where every listed range is BundleKind::Blocks.
scope: Option<RangeScope>Who the range is available to. None from a server that predates the
field.
Trait Implementations§
Source§impl Clone for AvailableRange
impl Clone for AvailableRange
Source§impl Debug for AvailableRange
impl Debug for AvailableRange
Source§impl Default for AvailableRange
impl Default for AvailableRange
Source§impl<'de> Deserialize<'de> for AvailableRange
impl<'de> Deserialize<'de> for AvailableRange
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
Auto Trait Implementations§
impl Freeze for AvailableRange
impl RefUnwindSafe for AvailableRange
impl Send for AvailableRange
impl Sync for AvailableRange
impl Unpin for AvailableRange
impl UnsafeUnpin for AvailableRange
impl UnwindSafe for AvailableRange
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