pub struct SessionCostDistributionQuery {
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub buckets: Option<usize>,
}Expand description
Query parameters for GET /api/sessions/cost-distribution.
Fields§
§start_time: Option<i64>§end_time: Option<i64>§buckets: Option<usize>Number of log-spaced buckets (default 20, cap 100).
Trait Implementations§
Source§impl Debug for SessionCostDistributionQuery
impl Debug for SessionCostDistributionQuery
Source§impl<'de> Deserialize<'de> for SessionCostDistributionQuery
impl<'de> Deserialize<'de> for SessionCostDistributionQuery
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 SessionCostDistributionQuery
impl IntoParams for SessionCostDistributionQuery
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.Auto Trait Implementations§
impl Freeze for SessionCostDistributionQuery
impl RefUnwindSafe for SessionCostDistributionQuery
impl Send for SessionCostDistributionQuery
impl Sync for SessionCostDistributionQuery
impl Unpin for SessionCostDistributionQuery
impl UnsafeUnpin for SessionCostDistributionQuery
impl UnwindSafe for SessionCostDistributionQuery
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