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§fn clone(&self) -> AvailableRange
fn clone(&self) -> AvailableRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AvailableRange
impl Debug for AvailableRange
Source§impl Default for AvailableRange
impl Default for AvailableRange
Source§fn default() -> AvailableRange
fn default() -> AvailableRange
Returns the “default value” for a type. Read more
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more