Enum narrowlink_types::policy::PolicyType
source · pub enum PolicyType {
BlackList,
WhiteList,
}Variants§
Trait Implementations§
source§impl Clone for PolicyType
impl Clone for PolicyType
source§fn clone(&self) -> PolicyType
fn clone(&self) -> PolicyType
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 PolicyType
impl Debug for PolicyType
source§impl<'de> Deserialize<'de> for PolicyType
impl<'de> Deserialize<'de> for PolicyType
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 PartialEq for PolicyType
impl PartialEq for PolicyType
source§fn eq(&self, other: &PolicyType) -> bool
fn eq(&self, other: &PolicyType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PolicyType
impl Serialize for PolicyType
impl StructuralPartialEq for PolicyType
Auto Trait Implementations§
impl RefUnwindSafe for PolicyType
impl Send for PolicyType
impl Sync for PolicyType
impl Unpin for PolicyType
impl UnwindSafe for PolicyType
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