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 /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<'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
Auto Trait Implementations§
impl Freeze for SessionQuery
impl RefUnwindSafe for SessionQuery
impl Send for SessionQuery
impl Sync for SessionQuery
impl Unpin 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.