pub struct TimeInToolQuery {
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub max_gap_secs: Option<u64>,
}Expand description
Query parameters for the time-in-tool endpoint (#172).
Fields§
§start_time: Option<i64>Start time (nanoseconds since Unix epoch)
end_time: Option<i64>End time (nanoseconds since Unix epoch)
max_gap_secs: Option<u64>Engagement gap ceiling in seconds. Gaps at or below it count in full; longer gaps are context switches and count zero. Default 300.
Trait Implementations§
Source§impl Debug for TimeInToolQuery
impl Debug for TimeInToolQuery
Source§impl<'de> Deserialize<'de> for TimeInToolQuery
impl<'de> Deserialize<'de> for TimeInToolQuery
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 TimeInToolQuery
impl IntoParams for TimeInToolQuery
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 TimeInToolQuery
impl Serialize for TimeInToolQuery
Auto Trait Implementations§
impl Freeze for TimeInToolQuery
impl RefUnwindSafe for TimeInToolQuery
impl Send for TimeInToolQuery
impl Sync for TimeInToolQuery
impl Unpin for TimeInToolQuery
impl UnsafeUnpin for TimeInToolQuery
impl UnwindSafe for TimeInToolQuery
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