#[repr(u8)]pub enum UriMatchType {
Domain = 0,
Host = 1,
StartsWith = 2,
Exact = 3,
RegularExpression = 4,
Never = 5,
}Variants§
Trait Implementations§
Source§impl Clone for UriMatchType
impl Clone for UriMatchType
Source§fn clone(&self) -> UriMatchType
fn clone(&self) -> UriMatchType
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 UriMatchType
impl Debug for UriMatchType
Source§impl<'de> Deserialize<'de> for UriMatchType
impl<'de> Deserialize<'de> for UriMatchType
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 Display for UriMatchType
impl Display for UriMatchType
Source§impl PartialEq for UriMatchType
impl PartialEq for UriMatchType
Source§impl Serialize for UriMatchType
impl Serialize for UriMatchType
impl Copy for UriMatchType
impl Eq for UriMatchType
impl StructuralPartialEq for UriMatchType
Auto Trait Implementations§
impl Freeze for UriMatchType
impl RefUnwindSafe for UriMatchType
impl Send for UriMatchType
impl Sync for UriMatchType
impl Unpin for UriMatchType
impl UnsafeUnpin for UriMatchType
impl UnwindSafe for UriMatchType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.