pub struct PersonsCollectionResponseObject {Show 14 fields
pub id: Option<i32>,
pub active_flag: Option<bool>,
pub owner_id: Option<i32>,
pub org_id: Option<i32>,
pub name: Option<String>,
pub email: Option<Vec<BasicPersonRequestEmailInner>>,
pub phone: Option<Vec<PersonItemAllOfPhoneInner>>,
pub update_time: Option<String>,
pub delete_time: Option<Option<String>>,
pub add_time: Option<String>,
pub visible_to: Option<String>,
pub picture_id: Option<Option<i32>>,
pub label: Option<Option<i32>>,
pub cc_email: Option<String>,
}Fields§
§id: Option<i32>The ID of the person
active_flag: Option<bool>Whether the person is active or not
owner_id: Option<i32>The ID of the owner related to the person
org_id: Option<i32>The ID of the organization related to the person
name: Option<String>The name of the person
email: Option<Vec<BasicPersonRequestEmailInner>>An email address as a string or an array of email objects related to the person. The structure of the array is as follows: [{ \"value\": \"mail@example.com\", \"primary\": \"true\", \"label\": \"main\" }]. Please note that only value is required.
phone: Option<Vec<PersonItemAllOfPhoneInner>>A phone number supplied as a string or an array of phone objects related to the person. The structure of the array is as follows: [{ \"value\": \"12345\", \"primary\": \"true\", \"label\": \"mobile\" }]. Please note that only value is required.
update_time: Option<String>The last updated date and time of the person. Format: YYYY-MM-DD HH:MM:SS
delete_time: Option<Option<String>>The date and time this person was deleted. Format: YYYY-MM-DD HH:MM:SS
add_time: Option<String>The date and time when the person was added/created. Format: YYYY-MM-DD HH:MM:SS
visible_to: Option<String>The visibility group ID of who can see the person
picture_id: Option<Option<i32>>The ID of the picture associated with the item
label: Option<Option<i32>>The label assigned to the person
cc_email: Option<String>The BCC email associated with the person
Implementations§
Trait Implementations§
Source§impl Clone for PersonsCollectionResponseObject
impl Clone for PersonsCollectionResponseObject
Source§fn clone(&self) -> PersonsCollectionResponseObject
fn clone(&self) -> PersonsCollectionResponseObject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for PersonsCollectionResponseObject
impl<'de> Deserialize<'de> for PersonsCollectionResponseObject
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>,
Source§impl PartialEq for PersonsCollectionResponseObject
impl PartialEq for PersonsCollectionResponseObject
Source§fn eq(&self, other: &PersonsCollectionResponseObject) -> bool
fn eq(&self, other: &PersonsCollectionResponseObject) -> bool
self and other values to be equal, and is used by ==.