pub struct HeadStreamResponse {
pub placement: ShardPlacement,
pub content_type: String,
pub tail_offset: u64,
pub cold_hot_start_offset: u64,
pub closed: bool,
pub stream_ttl_seconds: Option<u64>,
pub stream_expires_at_ms: Option<u64>,
pub snapshot_offset: Option<u64>,
pub integrity: StreamIntegritySnapshot,
}Fields§
§placement: ShardPlacement§content_type: String§tail_offset: u64§cold_hot_start_offset: u64§closed: bool§stream_ttl_seconds: Option<u64>§stream_expires_at_ms: Option<u64>§snapshot_offset: Option<u64>§integrity: StreamIntegritySnapshotTrait Implementations§
Source§impl Clone for HeadStreamResponse
impl Clone for HeadStreamResponse
Source§fn clone(&self) -> HeadStreamResponse
fn clone(&self) -> HeadStreamResponse
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 HeadStreamResponse
impl Debug for HeadStreamResponse
impl Eq for HeadStreamResponse
Source§impl PartialEq for HeadStreamResponse
impl PartialEq for HeadStreamResponse
Source§fn eq(&self, other: &HeadStreamResponse) -> bool
fn eq(&self, other: &HeadStreamResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HeadStreamResponse
Auto Trait Implementations§
impl Freeze for HeadStreamResponse
impl RefUnwindSafe for HeadStreamResponse
impl Send for HeadStreamResponse
impl Sync for HeadStreamResponse
impl Unpin for HeadStreamResponse
impl UnsafeUnpin for HeadStreamResponse
impl UnwindSafe for HeadStreamResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.