pub struct ReadStreamResponse {
pub placement: ShardPlacement,
pub offset: u64,
pub next_offset: u64,
pub content_type: String,
pub payload: Vec<u8>,
pub up_to_date: bool,
pub closed: bool,
}Fields§
§placement: ShardPlacement§offset: u64§next_offset: u64§content_type: String§payload: Vec<u8>§up_to_date: bool§closed: boolTrait Implementations§
Source§impl Clone for ReadStreamResponse
impl Clone for ReadStreamResponse
Source§fn clone(&self) -> ReadStreamResponse
fn clone(&self) -> ReadStreamResponse
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 ReadStreamResponse
impl Debug for ReadStreamResponse
Source§impl PartialEq for ReadStreamResponse
impl PartialEq for ReadStreamResponse
Source§fn eq(&self, other: &ReadStreamResponse) -> bool
fn eq(&self, other: &ReadStreamResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReadStreamResponse
impl StructuralPartialEq for ReadStreamResponse
Auto Trait Implementations§
impl Freeze for ReadStreamResponse
impl RefUnwindSafe for ReadStreamResponse
impl Send for ReadStreamResponse
impl Sync for ReadStreamResponse
impl Unpin for ReadStreamResponse
impl UnsafeUnpin for ReadStreamResponse
impl UnwindSafe for ReadStreamResponse
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