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