pub struct SessionQuery {
pub hsm_group: Option<String>,
pub xnames: Option<String>,
pub min_age: Option<String>,
pub max_age: Option<String>,
pub session_type: Option<String>,
pub status: Option<String>,
pub name: Option<String>,
pub limit: Option<u8>,
}Expand description
Query parameters for GET /api/v1/sessions.
Fields§
§hsm_group: Option<String>HSM group whose sessions should be returned.
xnames: Option<String>Filter to sessions whose ansible_limit mentions any of these
comma-separated xnames.
min_age: Option<String>Lower-bound session age expressed as a duration string
(e.g. "1h", "2d").
max_age: Option<String>Upper-bound session age expressed as a duration string.
session_type: Option<String>Session type filter: "image" or "runtime".
status: Option<String>Status filter: "pending", "running", or "complete".
name: Option<String>Exact session name.
limit: Option<u8>Cap on the number of sessions returned (most recent first).
Trait Implementations§
Source§impl Debug for SessionQuery
impl Debug for SessionQuery
Source§impl<'de> Deserialize<'de> for SessionQuery
impl<'de> Deserialize<'de> for SessionQuery
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 SessionQuery
impl IntoParams for SessionQuery
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 SessionQuery
impl RefUnwindSafe for SessionQuery
impl Send for SessionQuery
impl Sync for SessionQuery
impl Unpin for SessionQuery
impl UnsafeUnpin for SessionQuery
impl UnwindSafe for SessionQuery
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