pub struct SessionCostsQuery {
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub limit: Option<usize>,
}Expand description
Query parameters for GET /api/sessions/costs.
Fields§
§start_time: Option<i64>§end_time: Option<i64>§limit: Option<usize>Max sessions to return (default 50, cap 500). The anomaly flag is computed over the full window before truncation.
Trait Implementations§
Source§impl Debug for SessionCostsQuery
impl Debug for SessionCostsQuery
Source§impl<'de> Deserialize<'de> for SessionCostsQuery
impl<'de> Deserialize<'de> for SessionCostsQuery
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 SessionCostsQuery
impl IntoParams for SessionCostsQuery
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 SessionCostsQuery
impl Serialize for SessionCostsQuery
Auto Trait Implementations§
impl Freeze for SessionCostsQuery
impl RefUnwindSafe for SessionCostsQuery
impl Send for SessionCostsQuery
impl Sync for SessionCostsQuery
impl Unpin for SessionCostsQuery
impl UnsafeUnpin for SessionCostsQuery
impl UnwindSafe for SessionCostsQuery
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