pub enum PolicyName {
Single(String),
Multiple(Vec<String>),
}Variants§
Trait Implementations§
Source§impl Clone for PolicyName
impl Clone for PolicyName
Source§fn clone(&self) -> PolicyName
fn clone(&self) -> PolicyName
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 Debug for PolicyName
impl Debug for PolicyName
Source§impl From<&str> for PolicyName
impl From<&str> for PolicyName
Source§impl From<String> for PolicyName
impl From<String> for PolicyName
Source§impl PartialEq for PolicyName
impl PartialEq for PolicyName
Source§fn eq(&self, other: &PolicyName) -> bool
fn eq(&self, other: &PolicyName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PolicyName
impl Serialize for PolicyName
impl Eq for PolicyName
impl StructuralPartialEq for PolicyName
Auto Trait Implementations§
impl Freeze for PolicyName
impl RefUnwindSafe for PolicyName
impl Send for PolicyName
impl Sync for PolicyName
impl Unpin for PolicyName
impl UnsafeUnpin for PolicyName
impl UnwindSafe for PolicyName
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