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
sourceimpl<'de> Deserialize<'de> for Customer
impl<'de> Deserialize<'de> for Customer
sourcefn 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
sourceimpl PartialEq<Customer> for Customer
impl PartialEq<Customer> for Customer
impl StructuralPartialEq for Customer
Auto Trait Implementations
impl RefUnwindSafe for Customer
impl Send for Customer
impl Sync for Customer
impl Unpin for Customer
impl UnwindSafe for Customer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more