pub struct Customer {
pub customer_domain: Option<String>,
pub language: Option<String>,
pub alternate_email: Option<String>,
pub customer_creation_time: Option<String>,
pub kind: Option<String>,
pub etag: Option<String>,
pub phone_number: Option<String>,
pub postal_address: Option<CustomerPostalAddress>,
pub id: Option<String>,
}Expand description
JSON template for Customer Resource object in Directory API.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- patch customers (request|response)
- update customers (request|response)
- get customers (response)
Fields§
§customer_domain: Option<String>The customer’s primary domain name string. Do not include the www prefix when creating a new customer.
language: Option<String>The customer’s ISO 639-2 language code. The default value is en-US
alternate_email: Option<String>The customer’s secondary contact email address. This email address cannot be on the same domain as the customerDomain
customer_creation_time: Option<String>The customer’s creation time (Readonly)
kind: Option<String>Identifies the resource as a customer. Value: admin#directory#customer
etag: Option<String>ETag of the resource.
phone_number: Option<String>The customer’s contact phone number in E.164 format.
postal_address: Option<CustomerPostalAddress>The customer’s postal address information.
id: Option<String>The unique ID for the customer’s G Suite account. (Readonly)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Customer
impl<'de> Deserialize<'de> for Customer
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>,
impl RequestValue for Customer
impl Resource for Customer
impl ResponseResult for Customer
Auto Trait Implementations§
impl Freeze for Customer
impl RefUnwindSafe for Customer
impl Send for Customer
impl Sync for Customer
impl Unpin for Customer
impl UnwindSafe for Customer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more