pub struct RetrievalStatsQuery {
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub limit: Option<usize>,
pub agent: Option<String>,
pub model: Option<String>,
pub provider: Option<String>,
pub project: Option<String>,
pub session: Option<String>,
}Expand description
Query parameters for retrieval-stats endpoint
Fields§
§start_time: Option<i64>Start time (nanoseconds since Unix epoch)
end_time: Option<i64>End time (nanoseconds since Unix epoch)
limit: Option<usize>Maximum number of top queries to return (default 5, capped at 20)
agent: Option<String>Agent family filter: claude, opencode, or codex
model: Option<String>Model name filter
provider: Option<String>Provider filter
project: Option<String>Project id filter (opencode data only)
session: Option<String>Session id filter
Trait Implementations§
Source§impl Debug for RetrievalStatsQuery
impl Debug for RetrievalStatsQuery
Source§impl<'de> Deserialize<'de> for RetrievalStatsQuery
impl<'de> Deserialize<'de> for RetrievalStatsQuery
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 IntoParams for RetrievalStatsQuery
impl IntoParams for RetrievalStatsQuery
Source§fn into_params(
parameter_in_provider: impl Fn() -> Option<ParameterIn>,
) -> Vec<Parameter>
fn into_params( parameter_in_provider: impl Fn() -> Option<ParameterIn>, ) -> Vec<Parameter>
Provide
Vec of openapi::path::Parameters to caller. The result is used in utoipa-gen library to
provide OpenAPI parameter information for the endpoint using the parameters.Source§impl Serialize for RetrievalStatsQuery
impl Serialize for RetrievalStatsQuery
Auto Trait Implementations§
impl Freeze for RetrievalStatsQuery
impl RefUnwindSafe for RetrievalStatsQuery
impl Send for RetrievalStatsQuery
impl Sync for RetrievalStatsQuery
impl Unpin for RetrievalStatsQuery
impl UnsafeUnpin for RetrievalStatsQuery
impl UnwindSafe for RetrievalStatsQuery
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