pub enum DomainRule {
Any,
Exact(String),
Wildcard(String),
Regex(Regex),
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DomainRule
impl Clone for DomainRule
Source§fn clone(&self) -> DomainRule
fn clone(&self) -> DomainRule
Returns a duplicate 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 DomainRule
impl Debug for DomainRule
Source§impl FromStr for DomainRule
impl FromStr for DomainRule
Source§impl PartialEq for DomainRule
impl PartialEq for DomainRule
Auto Trait Implementations§
impl Freeze for DomainRule
impl RefUnwindSafe for DomainRule
impl Send for DomainRule
impl Sync for DomainRule
impl Unpin for DomainRule
impl UnwindSafe for DomainRule
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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