pub struct Customer {
Show 24 fields pub billing_contact_id: Option<String>, pub billing_network_type: Option<BillingNetworkType>, pub billing_ref: Option<String>, pub can_configure_wordpress: Option<bool>, pub can_reset_passwords: Option<bool>, pub can_upload_vcl: Option<bool>, pub force_2fa: Option<bool>, pub force_sso: Option<bool>, pub has_account_panel: Option<bool>, pub has_improved_events: Option<bool>, pub has_improved_ssl_config: Option<bool>, pub has_openstack_logging: Option<bool>, pub has_pci: Option<bool>, pub has_pci_passwords: Option<bool>, pub ip_whitelist: Option<String>, pub legal_contact_id: Option<String>, pub name: Option<String>, pub owner_id: Option<String>, pub phone_number: Option<String>, pub postal_address: Option<String>, pub pricing_plan: Option<String>, pub pricing_plan_id: Option<String>, pub security_contact_id: Option<String>, pub technical_contact_id: Option<String>,
}

Fields§

§billing_contact_id: Option<String>

The alphanumeric string representing the primary billing contact.

§billing_network_type: Option<BillingNetworkType>

Customer’s current network revenue type.

§billing_ref: Option<String>

Used for adding purchased orders to customer’s account.

§can_configure_wordpress: Option<bool>

Whether this customer can view or edit wordpress.

§can_reset_passwords: Option<bool>

Whether this customer can reset passwords.

§can_upload_vcl: Option<bool>

Whether this customer can upload VCL.

§force_2fa: Option<bool>

Specifies whether 2FA is forced or not forced on the customer account. Logs out non-2FA users once 2FA is force enabled.

§force_sso: Option<bool>

Specifies whether SSO is forced or not forced on the customer account.

§has_account_panel: Option<bool>

Specifies whether the account has access or does not have access to the account panel.

§has_improved_events: Option<bool>

Specifies whether the account has access or does not have access to the improved events.

§has_improved_ssl_config: Option<bool>

Whether this customer can view or edit the SSL config.

§has_openstack_logging: Option<bool>

Specifies whether the account has enabled or not enabled openstack logging.

§has_pci: Option<bool>

Specifies whether the account can edit PCI for a service.

§has_pci_passwords: Option<bool>

Specifies whether PCI passwords are required for the account.

§ip_whitelist: Option<String>

The range of IP addresses authorized to access the customer account.

§legal_contact_id: Option<String>

The alphanumeric string identifying the account’s legal contact.

§name: Option<String>

The name of the customer, generally the company name.

§owner_id: Option<String>

The alphanumeric string identifying the account owner.

§phone_number: Option<String>

The phone number associated with the account.

§postal_address: Option<String>

The postal address associated with the account.

§pricing_plan: Option<String>

The pricing plan this customer is under.

§pricing_plan_id: Option<String>

The alphanumeric string identifying the pricing plan.

§security_contact_id: Option<String>

The alphanumeric string identifying the account’s security contact.

§technical_contact_id: Option<String>

The alphanumeric string identifying the account’s technical contact.

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more