pub struct SessionChainsQuery {
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub chain_window_secs: Option<u64>,
}Expand description
Query parameters for GET /api/sessions/chains.
Fields§
§start_time: Option<i64>Start time (nanoseconds since Unix epoch)
end_time: Option<i64>End time (nanoseconds since Unix epoch)
chain_window_secs: Option<u64>Chain window in seconds: a gap strictly greater than this splits a session into two segments (default 7200 = 2 h).
Trait Implementations§
Source§impl Debug for SessionChainsQuery
impl Debug for SessionChainsQuery
Source§impl<'de> Deserialize<'de> for SessionChainsQuery
impl<'de> Deserialize<'de> for SessionChainsQuery
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 SessionChainsQuery
impl IntoParams for SessionChainsQuery
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 SessionChainsQuery
impl Serialize for SessionChainsQuery
Auto Trait Implementations§
impl Freeze for SessionChainsQuery
impl RefUnwindSafe for SessionChainsQuery
impl Send for SessionChainsQuery
impl Sync for SessionChainsQuery
impl Unpin for SessionChainsQuery
impl UnsafeUnpin for SessionChainsQuery
impl UnwindSafe for SessionChainsQuery
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