pub enum SearchType {
Starts,
Contains,
Ends,
Unknown(String),
}Expand description
How a DID / toll-free search string is matched.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SearchType
impl Clone for SearchType
Source§fn clone(&self) -> SearchType
fn clone(&self) -> SearchType
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 SearchType
impl Debug for SearchType
Source§impl<'de> Deserialize<'de> for SearchType
impl<'de> Deserialize<'de> for SearchType
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SearchType
impl Display for SearchType
impl Eq for SearchType
Source§impl Hash for SearchType
impl Hash for SearchType
Source§impl PartialEq for SearchType
impl PartialEq for SearchType
Source§fn eq(&self, other: &SearchType) -> bool
fn eq(&self, other: &SearchType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SearchType
impl Serialize for SearchType
impl StructuralPartialEq for SearchType
Auto Trait Implementations§
impl Freeze for SearchType
impl RefUnwindSafe for SearchType
impl Send for SearchType
impl Sync for SearchType
impl Unpin for SearchType
impl UnsafeUnpin for SearchType
impl UnwindSafe for SearchType
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