pub struct StreamSelection {
pub schema: SchemaKey,
pub scope: Option<Identifier>,
pub item: Option<Identifier>,
pub stream: Option<Identifier>,
pub source_start: Option<SystemTime>,
pub source_end: Option<SystemTime>,
pub after: u64,
}Fields§
§schema: SchemaKey§scope: Option<Identifier>§item: Option<Identifier>§stream: Option<Identifier>§source_start: Option<SystemTime>§source_end: Option<SystemTime>§after: u64Trait Implementations§
Source§impl Clone for StreamSelection
impl Clone for StreamSelection
Source§fn clone(&self) -> StreamSelection
fn clone(&self) -> StreamSelection
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 StreamSelection
impl Debug for StreamSelection
Source§impl Described for StreamSelection
impl Described for StreamSelection
impl Eq for StreamSelection
Source§impl MemorySize for StreamSelection
impl MemorySize for StreamSelection
fn memory_size(&self) -> usize
Source§impl PartialEq for StreamSelection
impl PartialEq for StreamSelection
impl StructuralPartialEq for StreamSelection
Source§impl Value for StreamSelection
impl Value for StreamSelection
fn write(&self, bytes: &mut Vec<u8>)
fn size(&self) -> usize
fn memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn read(input: &mut Reader<'_>) -> Result<StreamSelection, MessageError>
fn size_many(values: &[Self]) -> usize
fn write_many(values: &[Self], bytes: &mut Vec<u8>)
fn memory_many( input: &mut Reader<'_>, count: usize, ) -> Result<usize, MessageError>
fn read_many( input: &mut Reader<'_>, count: usize, ) -> Result<Vec<Self>, MessageError>
Auto Trait Implementations§
impl Freeze for StreamSelection
impl RefUnwindSafe for StreamSelection
impl Send for StreamSelection
impl Sync for StreamSelection
impl Unpin for StreamSelection
impl UnsafeUnpin for StreamSelection
impl UnwindSafe for StreamSelection
Blanket Implementations§
impl<T> Allocation for T
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