pub enum UserState {
Present,
Absent,
}
Expand description
User states for user management modules.
Used with user-related modules like user
, group
, etc.
§Examples
use ansible::UserState;
let state = UserState::Present;
assert_eq!(state.to_string(), "present");
Variants§
Trait Implementations§
impl StructuralPartialEq for UserState
Auto Trait Implementations§
impl Freeze for UserState
impl RefUnwindSafe for UserState
impl Send for UserState
impl Sync for UserState
impl Unpin for UserState
impl UnwindSafe for UserState
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