pub struct UrlPattern(pub String);Expand description
One supported-URL regex pattern entry.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for UrlPattern
impl Clone for UrlPattern
Source§fn clone(&self) -> UrlPattern
fn clone(&self) -> UrlPattern
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 UrlPattern
impl Debug for UrlPattern
Source§impl<'de> Deserialize<'de> for UrlPattern
impl<'de> Deserialize<'de> for UrlPattern
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 Hash for UrlPattern
impl Hash for UrlPattern
Source§impl PartialEq for UrlPattern
impl PartialEq for UrlPattern
Source§fn eq(&self, other: &UrlPattern) -> bool
fn eq(&self, other: &UrlPattern) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UrlPattern
impl Serialize for UrlPattern
impl Eq for UrlPattern
impl StructuralPartialEq for UrlPattern
Auto Trait Implementations§
impl Freeze for UrlPattern
impl RefUnwindSafe for UrlPattern
impl Send for UrlPattern
impl Sync for UrlPattern
impl Unpin for UrlPattern
impl UnsafeUnpin for UrlPattern
impl UnwindSafe for UrlPattern
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