[][src]Struct wascc_codec::eventstreams::StreamQuery

pub struct StreamQuery {
    pub stream_id: String,
    pub range: Option<TimeRange>,
    pub count: u64,
}

A query against a given stream

Fields

stream_id: String

ID of the stream to query

range: Option<TimeRange>

An optional time range limiter on the results of the query

count: u64

A maximum count to return from the query. 0 will return the maximum available (which may not include all events--consult the individual provider documentation to verify this behavior)

Trait Implementations

impl Debug for StreamQuery[src]

impl<'de> Deserialize<'de> for StreamQuery[src]

impl PartialEq<StreamQuery> for StreamQuery[src]

impl Sample for StreamQuery[src]

impl Serialize for StreamQuery[src]

impl StructuralPartialEq for StreamQuery[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.