pub struct StreamQuery {
pub stream_id: String,
pub range: Option<TimeRange>,
pub count: u64,
}Expand description
Used to query a stream for events with a maximum event count and optional time frame
Fields§
§stream_id: String§range: Option<TimeRange>§count: u64Trait Implementations§
Source§impl Clone for StreamQuery
impl Clone for StreamQuery
Source§fn clone(&self) -> StreamQuery
fn clone(&self) -> StreamQuery
Returns a duplicate of the value. Read more
1.0.0 · 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 StreamQuery
impl Debug for StreamQuery
Source§impl Default for StreamQuery
impl Default for StreamQuery
Source§fn default() -> StreamQuery
fn default() -> StreamQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamQuery
impl<'de> Deserialize<'de> for StreamQuery
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 StreamQuery
impl PartialEq for StreamQuery
Source§impl Serialize for StreamQuery
impl Serialize for StreamQuery
impl StructuralPartialEq for StreamQuery
Auto Trait Implementations§
impl Freeze for StreamQuery
impl RefUnwindSafe for StreamQuery
impl Send for StreamQuery
impl Sync for StreamQuery
impl Unpin for StreamQuery
impl UnwindSafe for StreamQuery
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