Struct sep2_common::packages::billing::CustomerAccount
source · pub struct CustomerAccount {
pub currency: Uint16,
pub customer_account: Option<String42>,
pub customer_agreement_list_link: Option<CustomerAgreementListLink>,
pub customer_name: Option<String42>,
pub price_power_of_ten_multiplier: PowerOfTenMultiplierType,
pub service_supplier_link: Option<ServiceSupplierLink>,
pub mrid: MRIDType,
pub description: Option<String32>,
pub version: Option<VersionType>,
pub href: Option<String>,
}
Available on crate feature
billing
only.Fields§
§currency: Uint16
The ISO 4217 code indicating the currency applicable to the bill amounts in the summary. See list at http://www.unece.org/cefact/recommendations/rec09/rec09_ecetrd203.pdf
customer_account: Option<String42>
The account number for the customer (if applicable).
customer_agreement_list_link: Option<CustomerAgreementListLink>
§customer_name: Option<String42>
The name of the customer.
price_power_of_ten_multiplier: PowerOfTenMultiplierType
Indicates the power of ten multiplier for the prices in this function set.
service_supplier_link: Option<ServiceSupplierLink>
§mrid: MRIDType
The global identifier of the object.
description: Option<String32>
The description is a human readable text describing or naming the object.
version: Option<VersionType>
Contains the version number of the object. See the type definition for details.
href: Option<String>
A reference to the resource address (URI). Required in a response to a GET, ignored otherwise.
Trait Implementations§
source§impl Clone for CustomerAccount
impl Clone for CustomerAccount
source§fn clone(&self) -> CustomerAccount
fn clone(&self) -> CustomerAccount
Returns a copy of the value. Read more
1.0.0 · 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 CustomerAccount
impl Debug for CustomerAccount
source§impl Default for CustomerAccount
impl Default for CustomerAccount
source§fn default() -> CustomerAccount
fn default() -> CustomerAccount
Returns the “default value” for a type. Read more
source§impl Ord for CustomerAccount
impl Ord for CustomerAccount
source§impl PartialEq<CustomerAccount> for CustomerAccount
impl PartialEq<CustomerAccount> for CustomerAccount
source§fn eq(&self, other: &CustomerAccount) -> bool
fn eq(&self, other: &CustomerAccount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CustomerAccount> for CustomerAccount
impl PartialOrd<CustomerAccount> for CustomerAccount
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl SEIdentifiedObject for CustomerAccount
impl SEIdentifiedObject for CustomerAccount
source§impl SEResource for CustomerAccount
impl SEResource for CustomerAccount
source§impl YaDeserialize for CustomerAccount
impl YaDeserialize for CustomerAccount
source§impl YaSerialize for CustomerAccount
impl YaSerialize for CustomerAccount
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Eq for CustomerAccount
impl StructuralEq for CustomerAccount
impl StructuralPartialEq for CustomerAccount
Auto Trait Implementations§
impl RefUnwindSafe for CustomerAccount
impl Send for CustomerAccount
impl Sync for CustomerAccount
impl Unpin for CustomerAccount
impl UnwindSafe for CustomerAccount
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