pub enum DialingMode {
MainAccount,
E164,
Nanpa,
Unknown(String),
}Expand description
Outgoing-call dialing mode for a sub-account.
Variants§
MainAccount
Use the main account setting.
E164
Nanpa
Unknown(String)
Any wire value this crate doesn’t recognize.
Implementations§
Trait Implementations§
Source§impl Clone for DialingMode
impl Clone for DialingMode
Source§fn clone(&self) -> DialingMode
fn clone(&self) -> DialingMode
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 DialingMode
impl Debug for DialingMode
Source§impl<'de> Deserialize<'de> for DialingMode
impl<'de> Deserialize<'de> for DialingMode
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 DialingMode
impl Display for DialingMode
impl Eq for DialingMode
Source§impl Hash for DialingMode
impl Hash for DialingMode
Source§impl PartialEq for DialingMode
impl PartialEq for DialingMode
Source§fn eq(&self, other: &DialingMode) -> bool
fn eq(&self, other: &DialingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DialingMode
impl Serialize for DialingMode
impl StructuralPartialEq for DialingMode
Auto Trait Implementations§
impl Freeze for DialingMode
impl RefUnwindSafe for DialingMode
impl Send for DialingMode
impl Sync for DialingMode
impl Unpin for DialingMode
impl UnsafeUnpin for DialingMode
impl UnwindSafe for DialingMode
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