pub enum DomainsValidation<T> {
AllowOnly(Vec<T>),
Disabled,
}
Expand description
Specifies if domains should be validated.
Variants§
Trait Implementations§
Source§impl<T> Clone for DomainsValidation<T>where
T: Clone,
impl<T> Clone for DomainsValidation<T>where
T: Clone,
Source§fn clone(&self) -> DomainsValidation<T>
fn clone(&self) -> DomainsValidation<T>
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<T> Debug for DomainsValidation<T>where
T: Debug,
impl<T> Debug for DomainsValidation<T>where
T: Debug,
Source§impl<T> PartialEq for DomainsValidation<T>where
T: PartialEq,
impl<T> PartialEq for DomainsValidation<T>where
T: PartialEq,
impl<T> Eq for DomainsValidation<T>where
T: Eq,
impl<T> StructuralPartialEq for DomainsValidation<T>
Auto Trait Implementations§
impl<T> Freeze for DomainsValidation<T>
impl<T> RefUnwindSafe for DomainsValidation<T>where
T: RefUnwindSafe,
impl<T> Send for DomainsValidation<T>where
T: Send,
impl<T> Sync for DomainsValidation<T>where
T: Sync,
impl<T> Unpin for DomainsValidation<T>where
T: Unpin,
impl<T> UnwindSafe for DomainsValidation<T>where
T: UnwindSafe,
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