pub struct RareToolSessionsQuery {
pub rare_session_threshold: Option<u64>,
pub start_time: Option<i64>,
pub end_time: Option<i64>,
}Expand description
Query parameters for GET /api/genai/rare_tool_sessions (#176).
Fields§
§rare_session_threshold: Option<u64>Tools with fewer sessions in the window than this are “rare” (default 10). The main tools (claude_code, opencode, codex, bob) are always excluded, whatever the threshold.
start_time: Option<i64>Start time (nanoseconds since Unix epoch)
end_time: Option<i64>End time (nanoseconds since Unix epoch)
Trait Implementations§
Source§impl Debug for RareToolSessionsQuery
impl Debug for RareToolSessionsQuery
Source§impl<'de> Deserialize<'de> for RareToolSessionsQuery
impl<'de> Deserialize<'de> for RareToolSessionsQuery
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 RareToolSessionsQuery
impl IntoParams for RareToolSessionsQuery
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 RareToolSessionsQuery
impl Serialize for RareToolSessionsQuery
Auto Trait Implementations§
impl Freeze for RareToolSessionsQuery
impl RefUnwindSafe for RareToolSessionsQuery
impl Send for RareToolSessionsQuery
impl Sync for RareToolSessionsQuery
impl Unpin for RareToolSessionsQuery
impl UnsafeUnpin for RareToolSessionsQuery
impl UnwindSafe for RareToolSessionsQuery
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