pub struct StreamSnapshotEntry {
pub metadata: StreamMetadata,
pub hot_start_offset: u64,
pub payload: Vec<u8>,
pub hot_segments: Vec<HotPayloadSegment>,
pub cold_chunks: Vec<ColdChunkRef>,
pub external_segments: Vec<ObjectPayloadRef>,
pub message_records: Vec<StreamMessageRecord>,
pub visible_snapshot: Option<StreamVisibleSnapshot>,
pub producer_states: Vec<ProducerSnapshot>,
}Fields§
§metadata: StreamMetadata§hot_start_offset: u64§payload: Vec<u8>§hot_segments: Vec<HotPayloadSegment>§cold_chunks: Vec<ColdChunkRef>§external_segments: Vec<ObjectPayloadRef>§message_records: Vec<StreamMessageRecord>§visible_snapshot: Option<StreamVisibleSnapshot>§producer_states: Vec<ProducerSnapshot>Trait Implementations§
Source§impl Clone for StreamSnapshotEntry
impl Clone for StreamSnapshotEntry
Source§fn clone(&self) -> StreamSnapshotEntry
fn clone(&self) -> StreamSnapshotEntry
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 StreamSnapshotEntry
impl Debug for StreamSnapshotEntry
Source§impl<'de> Deserialize<'de> for StreamSnapshotEntry
impl<'de> Deserialize<'de> for StreamSnapshotEntry
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
Source§impl PartialEq for StreamSnapshotEntry
impl PartialEq for StreamSnapshotEntry
Source§fn eq(&self, other: &StreamSnapshotEntry) -> bool
fn eq(&self, other: &StreamSnapshotEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StreamSnapshotEntry
impl Serialize for StreamSnapshotEntry
impl Eq for StreamSnapshotEntry
impl StructuralPartialEq for StreamSnapshotEntry
Auto Trait Implementations§
impl Freeze for StreamSnapshotEntry
impl RefUnwindSafe for StreamSnapshotEntry
impl Send for StreamSnapshotEntry
impl Sync for StreamSnapshotEntry
impl Unpin for StreamSnapshotEntry
impl UnsafeUnpin for StreamSnapshotEntry
impl UnwindSafe for StreamSnapshotEntry
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