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 range of slots you can replay: an entry of GET /available-ranges.
A single session must start at bundle_start_slot and end at or before
max_bundle_end_slot. Times are RFC 3339 UTC strings, such as "2026-01-01T00:00:01Z".
Fields§
§bundle_start_slot: u64The first slot of the range; a session’s start_slot.
bundle_start_slot_utc: Option<String>When bundle_start_slot was produced, if known.
max_bundle_end_slot: Option<u64>The last slot a session starting here can reach.
max_bundle_end_slot_utc: Option<String>When max_bundle_end_slot was produced, if known.
max_bundle_size: Option<u64>The range’s length in slots, both ends included.
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 Forget for AvailableRange
impl Freeze for AvailableRange
impl Move 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