pub enum GroupState {
Present,
Absent,
}
Expand description
Group states for group management modules.
Used with group-related modules like group
.
§Examples
use ansible::GroupState;
let state = GroupState::Present;
assert_eq!(state.to_string(), "present");
Variants§
Trait Implementations§
Source§impl Clone for GroupState
impl Clone for GroupState
Source§fn clone(&self) -> GroupState
fn clone(&self) -> GroupState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GroupState
impl Debug for GroupState
Source§impl Display for GroupState
impl Display for GroupState
Source§impl PartialEq for GroupState
impl PartialEq for GroupState
impl StructuralPartialEq for GroupState
Auto Trait Implementations§
impl Freeze for GroupState
impl RefUnwindSafe for GroupState
impl Send for GroupState
impl Sync for GroupState
impl Unpin for GroupState
impl UnwindSafe for GroupState
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