pub enum VanityType {
Any,
N800,
N833,
N844,
N855,
N866,
N877,
N888,
Unknown(String),
}Expand description
Toll-free prefix to search for a vanity number.
Variants§
Any
Any toll-free prefix.
N800
N833
N844
N855
N866
N877
N888
Unknown(String)
Any wire value this crate doesn’t recognize.
Implementations§
Trait Implementations§
Source§impl Clone for VanityType
impl Clone for VanityType
Source§fn clone(&self) -> VanityType
fn clone(&self) -> VanityType
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 VanityType
impl Debug for VanityType
Source§impl<'de> Deserialize<'de> for VanityType
impl<'de> Deserialize<'de> for VanityType
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 VanityType
impl Display for VanityType
impl Eq for VanityType
Source§impl Hash for VanityType
impl Hash for VanityType
Source§impl PartialEq for VanityType
impl PartialEq for VanityType
Source§fn eq(&self, other: &VanityType) -> bool
fn eq(&self, other: &VanityType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VanityType
impl Serialize for VanityType
impl StructuralPartialEq for VanityType
Auto Trait Implementations§
impl Freeze for VanityType
impl RefUnwindSafe for VanityType
impl Send for VanityType
impl Sync for VanityType
impl Unpin for VanityType
impl UnsafeUnpin for VanityType
impl UnwindSafe for VanityType
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