pub enum PowerTargetType {
Nodes,
Cluster,
}Expand description
Whether the caller’s host_expression is a hosts expression
(xnames / NIDs / hostlist) or a single HSM group name whose
members should be targeted.
Variants§
Trait Implementations§
Source§impl Clone for PowerTargetType
impl Clone for PowerTargetType
Source§fn clone(&self) -> PowerTargetType
fn clone(&self) -> PowerTargetType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for PowerTargetType
impl ComposeSchema for PowerTargetType
impl Copy for PowerTargetType
Source§impl Debug for PowerTargetType
impl Debug for PowerTargetType
Source§impl<'de> Deserialize<'de> for PowerTargetType
impl<'de> Deserialize<'de> for PowerTargetType
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 Serialize for PowerTargetType
impl Serialize for PowerTargetType
Auto Trait Implementations§
impl Freeze for PowerTargetType
impl RefUnwindSafe for PowerTargetType
impl Send for PowerTargetType
impl Sync for PowerTargetType
impl Unpin for PowerTargetType
impl UnsafeUnpin for PowerTargetType
impl UnwindSafe for PowerTargetType
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