pub struct GetSessionParams {
pub hsm_group: Option<String>,
pub xnames: Vec<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
Typed parameters for fetching CFS sessions.
Fields§
§hsm_group: Option<String>HSM group whose sessions should be returned.
xnames: Vec<String>Filter to sessions whose ansible_limit mentions any of these
xnames. Empty means “no xname filter”.
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).
Auto Trait Implementations§
impl Freeze for GetSessionParams
impl RefUnwindSafe for GetSessionParams
impl Send for GetSessionParams
impl Sync for GetSessionParams
impl Unpin for GetSessionParams
impl UnsafeUnpin for GetSessionParams
impl UnwindSafe for GetSessionParams
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