Struct ehelply::models::contact_method::ContactMethod
source · [−]Fields
name: Option<String>
value: Option<String>
Implementations
sourceimpl ContactMethod
impl ContactMethod
pub fn new() -> ContactMethod
Trait Implementations
sourceimpl Clone for ContactMethod
impl Clone for ContactMethod
sourcefn clone(&self) -> ContactMethod
fn clone(&self) -> ContactMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ContactMethod
impl Debug for ContactMethod
sourceimpl Default for ContactMethod
impl Default for ContactMethod
sourcefn default() -> ContactMethod
fn default() -> ContactMethod
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ContactMethod
impl<'de> Deserialize<'de> for ContactMethod
sourcefn 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
sourceimpl PartialEq<ContactMethod> for ContactMethod
impl PartialEq<ContactMethod> for ContactMethod
sourcefn eq(&self, other: &ContactMethod) -> bool
fn eq(&self, other: &ContactMethod) -> bool
sourceimpl Serialize for ContactMethod
impl Serialize for ContactMethod
impl StructuralPartialEq for ContactMethod
Auto Trait Implementations
impl RefUnwindSafe for ContactMethod
impl Send for ContactMethod
impl Sync for ContactMethod
impl Unpin for ContactMethod
impl UnwindSafe for ContactMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more