pub enum DomainsValidation<T> {
AllowOnly(Vec<T>),
Disabled,
}
Expand description
Specifies if domains should be validated.
Variants§
Trait Implementations§
Source§impl<T: Clone> Clone for DomainsValidation<T>
impl<T: Clone> Clone for DomainsValidation<T>
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> Debug for DomainsValidation<T>
impl<T: Debug> Debug for DomainsValidation<T>
Source§impl<T: PartialEq> PartialEq for DomainsValidation<T>
impl<T: PartialEq> PartialEq for DomainsValidation<T>
impl<T: Eq> Eq for DomainsValidation<T>
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