pub struct CompletedBundle {
pub start_slot: u64,
pub end_slot: u64,
pub kind: BundleKind,
pub completed_at_unix_ms: Option<i64>,
pub size_bytes: Option<i64>,
}Expand description
A bundle the caller owns and can use now. Ordered by slot range, then kind.
Fields§
§start_slot: u64§end_slot: u64§kind: BundleKind§completed_at_unix_ms: Option<i64>When the bundle became available (unix ms), where known.
size_bytes: Option<i64>Trait Implementations§
Source§impl Clone for CompletedBundle
impl Clone for CompletedBundle
Source§impl Debug for CompletedBundle
impl Debug for CompletedBundle
Source§impl<'de> Deserialize<'de> for CompletedBundle
impl<'de> Deserialize<'de> for CompletedBundle
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 CompletedBundle
Source§impl Ord for CompletedBundle
impl Ord for CompletedBundle
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CompletedBundle
impl PartialEq for CompletedBundle
Source§impl PartialOrd for CompletedBundle
impl PartialOrd for CompletedBundle
Source§impl Serialize for CompletedBundle
impl Serialize for CompletedBundle
impl StructuralPartialEq for CompletedBundle
Auto Trait Implementations§
impl Freeze for CompletedBundle
impl RefUnwindSafe for CompletedBundle
impl Send for CompletedBundle
impl Sync for CompletedBundle
impl Unpin for CompletedBundle
impl UnsafeUnpin for CompletedBundle
impl UnwindSafe for CompletedBundle
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