pub struct MsgraphContact {Show 34 fields
pub id: String,
pub display_name: MsgraphField<String>,
pub given_name: MsgraphField<String>,
pub middle_name: MsgraphField<String>,
pub surname: MsgraphField<String>,
pub nick_name: MsgraphField<String>,
pub title: MsgraphField<String>,
pub file_as: MsgraphField<String>,
pub email_addresses: MsgraphField<Vec<MsgraphEmailAddress>>,
pub im_addresses: MsgraphField<Vec<String>>,
pub business_phones: MsgraphField<Vec<String>>,
pub home_phones: MsgraphField<Vec<String>>,
pub mobile_phone: MsgraphField<String>,
pub home_address: MsgraphField<MsgraphPhysicalAddress>,
pub business_address: MsgraphField<MsgraphPhysicalAddress>,
pub other_address: MsgraphField<MsgraphPhysicalAddress>,
pub job_title: MsgraphField<String>,
pub company_name: MsgraphField<String>,
pub department: MsgraphField<String>,
pub office_location: MsgraphField<String>,
pub profession: MsgraphField<String>,
pub assistant_name: MsgraphField<String>,
pub manager: MsgraphField<String>,
pub business_home_page: MsgraphField<String>,
pub birthday: MsgraphField<String>,
pub spouse_name: MsgraphField<String>,
pub children: MsgraphField<Vec<String>>,
pub personal_notes: MsgraphField<String>,
pub categories: MsgraphField<Vec<String>>,
pub parent_folder_id: Option<String>,
pub created_date_time: Option<String>,
pub last_modified_date_time: Option<String>,
pub change_key: Option<String>,
pub single_value_extended_properties: MsgraphField<Vec<MsgraphSingleValueExtendedProperty>>,
}Expand description
A contact in a contact folder. Doubles as the create/update body.
Unset fields are left out (an update preserves them), null fields are serialized as explicit nulls (an update clears them), and a set empty collection clears the collection.
Fields§
§id: StringThe unique identifier of the contact.
display_name: MsgraphField<String>The display name of the contact.
given_name: MsgraphField<String>The given name of the contact.
middle_name: MsgraphField<String>The middle name of the contact.
surname: MsgraphField<String>The family name of the contact.
nick_name: MsgraphField<String>The nickname of the contact.
title: MsgraphField<String>The title of the contact.
file_as: MsgraphField<String>How the contact is filed under in the folder listing.
email_addresses: MsgraphField<Vec<MsgraphEmailAddress>>The email addresses of the contact.
im_addresses: MsgraphField<Vec<String>>The instant messaging addresses of the contact.
business_phones: MsgraphField<Vec<String>>The business phone numbers of the contact.
home_phones: MsgraphField<Vec<String>>The home phone numbers of the contact.
mobile_phone: MsgraphField<String>The mobile phone number of the contact.
home_address: MsgraphField<MsgraphPhysicalAddress>The home address of the contact.
business_address: MsgraphField<MsgraphPhysicalAddress>The business address of the contact.
other_address: MsgraphField<MsgraphPhysicalAddress>The alternative address of the contact.
job_title: MsgraphField<String>The job title of the contact.
company_name: MsgraphField<String>The name of the contact’s company.
department: MsgraphField<String>The department the contact works in.
office_location: MsgraphField<String>The office location of the contact.
profession: MsgraphField<String>The profession of the contact.
assistant_name: MsgraphField<String>The name of the contact’s assistant.
manager: MsgraphField<String>The name of the contact’s manager.
business_home_page: MsgraphField<String>The business home page of the contact.
birthday: MsgraphField<String>Birthday as an ISO 8601 date-time (e.g. 1983-04-01T00:00:00Z).
spouse_name: MsgraphField<String>The name of the contact’s spouse or partner.
children: MsgraphField<Vec<String>>The names of the contact’s children.
personal_notes: MsgraphField<String>The free-form notes about the contact.
categories: MsgraphField<Vec<String>>The categories associated with the contact.
parent_folder_id: Option<String>The identifier of the containing contact folder.
created_date_time: Option<String>The creation date, as an ISO 8601 date-time.
last_modified_date_time: Option<String>The last modification date, as an ISO 8601 date-time.
change_key: Option<String>The version marker of the contact, changing on every update.
single_value_extended_properties: MsgraphField<Vec<MsgraphSingleValueExtendedProperty>>Single-value extended MAPI properties attached to the contact.
They ride inline in create and update bodies, but responses
only carry them when the request $expanded them by id.
Trait Implementations§
Source§impl Clone for MsgraphContact
impl Clone for MsgraphContact
Source§fn clone(&self) -> MsgraphContact
fn clone(&self) -> MsgraphContact
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more