pub struct ContactAddress {
pub name: Option<String>,
pub company_name: Option<String>,
pub address_line1: Option<String>,
pub country: String,
pub state: Option<String>,
pub city: Option<String>,
pub zip: Option<String>,
pub phone: Option<String>,
pub email: Option<String>,
}Available on crate feature
store only.Expand description
ContactAddress from the GoHighLevel OpenAPI spec.
Fields§
§name: Option<String>Name of the customer
company_name: Option<String>Name of the Company
address_line1: Option<String>Address line 1 of the customer
country: StringCountry code of the customer
Allowed values: US, CA, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG.
Required by the API.
state: Option<String>State code of the customer
Allowed values: AL, AK, AS, AZ, AR, AA, AE, AP, CA, CO, CT, DE.
city: Option<String>City of the customer
zip: Option<String>Zip code of the customer
phone: Option<String>Phone number of the customer
email: Option<String>Email of the customer
Trait Implementations§
Source§impl Clone for ContactAddress
impl Clone for ContactAddress
Source§fn clone(&self) -> ContactAddress
fn clone(&self) -> ContactAddress
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 ContactAddress
impl Debug for ContactAddress
Source§impl Default for ContactAddress
impl Default for ContactAddress
Source§fn default() -> ContactAddress
fn default() -> ContactAddress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContactAddress
impl<'de> Deserialize<'de> for ContactAddress
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 ContactAddress
impl RefUnwindSafe for ContactAddress
impl Send for ContactAddress
impl Sync for ContactAddress
impl Unpin for ContactAddress
impl UnsafeUnpin for ContactAddress
impl UnwindSafe for ContactAddress
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