Enum qapi_qmp::QAuthZListPolicy
source · pub enum QAuthZListPolicy {
deny,
allow,
}
Variants§
Trait Implementations§
source§impl Clone for QAuthZListPolicy
impl Clone for QAuthZListPolicy
source§fn clone(&self) -> QAuthZListPolicy
fn clone(&self) -> QAuthZListPolicy
Returns a copy 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 QAuthZListPolicy
impl Debug for QAuthZListPolicy
source§impl<'de> Deserialize<'de> for QAuthZListPolicy
impl<'de> Deserialize<'de> for QAuthZListPolicy
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 Enum for QAuthZListPolicy
impl Enum for QAuthZListPolicy
source§impl FromStr for QAuthZListPolicy
impl FromStr for QAuthZListPolicy
source§impl Hash for QAuthZListPolicy
impl Hash for QAuthZListPolicy
source§impl Ord for QAuthZListPolicy
impl Ord for QAuthZListPolicy
source§fn cmp(&self, other: &QAuthZListPolicy) -> Ordering
fn cmp(&self, other: &QAuthZListPolicy) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<QAuthZListPolicy> for QAuthZListPolicy
impl PartialEq<QAuthZListPolicy> for QAuthZListPolicy
source§fn eq(&self, other: &QAuthZListPolicy) -> bool
fn eq(&self, other: &QAuthZListPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<QAuthZListPolicy> for QAuthZListPolicy
impl PartialOrd<QAuthZListPolicy> for QAuthZListPolicy
source§fn partial_cmp(&self, other: &QAuthZListPolicy) -> Option<Ordering>
fn partial_cmp(&self, other: &QAuthZListPolicy) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for QAuthZListPolicy
impl Serialize for QAuthZListPolicy
impl Copy for QAuthZListPolicy
impl Eq for QAuthZListPolicy
impl StructuralEq for QAuthZListPolicy
impl StructuralPartialEq for QAuthZListPolicy
Auto Trait Implementations§
impl RefUnwindSafe for QAuthZListPolicy
impl Send for QAuthZListPolicy
impl Sync for QAuthZListPolicy
impl Unpin for QAuthZListPolicy
impl UnwindSafe for QAuthZListPolicy
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