pub struct AnalyticsQuery {
    pub start_time: Option<i64>,
    pub end_time: Option<i64>,
    pub duration: i64,
    pub protocol: Option<String>,
    pub endpoint: Option<String>,
    pub method: Option<String>,
    pub status_code: Option<i32>,
    pub workspace_id: Option<String>,
    pub environment: Option<String>,
    pub limit: i64,
    pub granularity: String,
}Expand description
Query parameters for analytics endpoints
Fields§
§start_time: Option<i64>Start time (Unix timestamp)
end_time: Option<i64>End time (Unix timestamp)
duration: i64Duration in seconds (alternative to start/end)
protocol: Option<String>Protocol filter (HTTP, gRPC, WebSocket, etc.)
endpoint: Option<String>Endpoint filter
method: Option<String>Method filter (GET, POST, etc.)
status_code: Option<i32>Status code filter
workspace_id: Option<String>Workspace ID filter
environment: Option<String>Environment filter (dev, staging, prod)
limit: i64Limit results
granularity: StringGranularity for time-series data
Trait Implementations§
Source§impl Debug for AnalyticsQuery
 
impl Debug for AnalyticsQuery
Source§impl<'de> Deserialize<'de> for AnalyticsQuery
 
impl<'de> Deserialize<'de> for AnalyticsQuery
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
Auto Trait Implementations§
impl Freeze for AnalyticsQuery
impl RefUnwindSafe for AnalyticsQuery
impl Send for AnalyticsQuery
impl Sync for AnalyticsQuery
impl Unpin for AnalyticsQuery
impl UnwindSafe for AnalyticsQuery
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
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> FutureExt for T
 
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
 
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
 
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> GetSetFdFlags for T
 
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
    T: AsFilelike,
 
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
    T: AsFilelike,
Query the “status” flags for the 
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
    T: AsFilelike,
 
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
    T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
    T: AsFilelike,
 
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
    T: AsFilelike,
Set the “status” flags for the 
self file descriptor. Read moreSource§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
 
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
 
fn into_request(self) -> Request<T>
Wrap the input message 
T in a tonic::Request