pub struct CreateContactSchema {Show 36 fields
pub id: Option<String>,
pub date_added: Option<String>,
pub date_updated: Option<String>,
pub deleted: Option<bool>,
pub tags: Vec<String>,
pub type_: Option<String>,
pub custom_fields: Vec<CustomFieldSchema>,
pub location_id: Option<String>,
pub first_name: Option<String>,
pub first_name_lower_case: Option<String>,
pub full_name_lower_case: Option<String>,
pub last_name: Option<String>,
pub last_name_lower_case: Option<String>,
pub email: Option<String>,
pub email_lower_case: Option<String>,
pub bounce_email: Option<bool>,
pub unsubscribe_email: Option<bool>,
pub dnd: Option<bool>,
pub dnd_settings: Option<DndSettingsSchema>,
pub phone: Option<String>,
pub address1: Option<String>,
pub city: Option<String>,
pub state: Option<String>,
pub country: Option<String>,
pub postal_code: Option<String>,
pub website: Option<String>,
pub source: Option<String>,
pub company_name: Option<String>,
pub date_of_birth: Option<String>,
pub birth_month: Option<f64>,
pub birth_day: Option<f64>,
pub last_session_activity_at: Option<String>,
pub offers: Vec<String>,
pub products: Vec<String>,
pub business_id: Option<String>,
pub assigned_to: Option<String>,
}Available on crate feature
contacts only.Expand description
CreateContactSchema from the GoHighLevel OpenAPI spec.
Fields§
§id: Option<String>§date_added: Option<String>§date_updated: Option<String>§deleted: Option<bool>§type_: Option<String>§custom_fields: Vec<CustomFieldSchema>§location_id: Option<String>§first_name: Option<String>§first_name_lower_case: Option<String>§full_name_lower_case: Option<String>§last_name: Option<String>§last_name_lower_case: Option<String>§email: Option<String>§email_lower_case: Option<String>§bounce_email: Option<bool>§unsubscribe_email: Option<bool>§dnd: Option<bool>§dnd_settings: Option<DndSettingsSchema>§phone: Option<String>§address1: Option<String>§city: Option<String>§state: Option<String>§country: Option<String>§postal_code: Option<String>§website: Option<String>§source: Option<String>§company_name: Option<String>§date_of_birth: Option<String>§birth_month: Option<f64>§birth_day: Option<f64>§last_session_activity_at: Option<String>§offers: Vec<String>§products: Vec<String>§business_id: Option<String>§assigned_to: Option<String>User’s Id
Trait Implementations§
Source§impl Clone for CreateContactSchema
impl Clone for CreateContactSchema
Source§fn clone(&self) -> CreateContactSchema
fn clone(&self) -> CreateContactSchema
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateContactSchema
impl Debug for CreateContactSchema
Source§impl Default for CreateContactSchema
impl Default for CreateContactSchema
Source§fn default() -> CreateContactSchema
fn default() -> CreateContactSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateContactSchema
impl<'de> Deserialize<'de> for CreateContactSchema
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
Auto Trait Implementations§
impl Freeze for CreateContactSchema
impl RefUnwindSafe for CreateContactSchema
impl Send for CreateContactSchema
impl Sync for CreateContactSchema
impl Unpin for CreateContactSchema
impl UnsafeUnpin for CreateContactSchema
impl UnwindSafe for CreateContactSchema
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