pub struct ContactInfo {
pub email_address: Option<String>,
pub websites: Vec<Website>,
pub twitter: Vec<String>,
pub phone_numbers: Vec<String>,
pub birthdate: Option<String>,
pub ims: Option<Vec<Value>>,
}
Fields§
§email_address: Option<String>
§websites: Vec<Website>
§twitter: Vec<String>
§phone_numbers: Vec<String>
§birthdate: Option<String>
§ims: Option<Vec<Value>>
Trait Implementations§
Source§impl Clone for ContactInfo
impl Clone for ContactInfo
Source§fn clone(&self) -> ContactInfo
fn clone(&self) -> ContactInfo
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 ContactInfo
impl Debug for ContactInfo
Source§impl Default for ContactInfo
impl Default for ContactInfo
Source§fn default() -> ContactInfo
fn default() -> ContactInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContactInfo
impl<'de> Deserialize<'de> for ContactInfo
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
Source§impl PartialEq for ContactInfo
impl PartialEq for ContactInfo
Source§impl Serialize for ContactInfo
impl Serialize for ContactInfo
impl StructuralPartialEq for ContactInfo
Auto Trait Implementations§
impl Freeze for ContactInfo
impl RefUnwindSafe for ContactInfo
impl Send for ContactInfo
impl Sync for ContactInfo
impl Unpin for ContactInfo
impl UnwindSafe for ContactInfo
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