pub enum PreferredContactMethod2Code {
CodeMAIL,
CodeFAXX,
CodeLETT,
CodeCELL,
CodeONLI,
CodePHON,
}Variants§
Implementations§
Source§impl PreferredContactMethod2Code
impl PreferredContactMethod2Code
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for PreferredContactMethod2Code
impl Clone for PreferredContactMethod2Code
Source§fn clone(&self) -> PreferredContactMethod2Code
fn clone(&self) -> PreferredContactMethod2Code
Returns a copy 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 PreferredContactMethod2Code
impl Debug for PreferredContactMethod2Code
Source§impl Default for PreferredContactMethod2Code
impl Default for PreferredContactMethod2Code
Source§fn default() -> PreferredContactMethod2Code
fn default() -> PreferredContactMethod2Code
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreferredContactMethod2Code
impl<'de> Deserialize<'de> for PreferredContactMethod2Code
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
impl StructuralPartialEq for PreferredContactMethod2Code
Auto Trait Implementations§
impl Freeze for PreferredContactMethod2Code
impl RefUnwindSafe for PreferredContactMethod2Code
impl Send for PreferredContactMethod2Code
impl Sync for PreferredContactMethod2Code
impl Unpin for PreferredContactMethod2Code
impl UnwindSafe for PreferredContactMethod2Code
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