Struct sep2_common::packages::pricing::TariffProfile
source · pub struct TariffProfile {
pub currency: Option<CurrencyCode>,
pub price_power_of_ten_multiplier: Option<PowerOfTenMultiplierType>,
pub primacy: PrimacyType,
pub rate_code: Option<String20>,
pub rate_component_list_link: Option<RateComponentListLink>,
pub service_category_kind: ServiceKind,
pub mrid: MRIDType,
pub description: Option<String32>,
pub version: Option<VersionType>,
pub href: Option<String>,
}
pricing
only.Expand description
A schedule of charges; structure that allows the definition of tariff structures such as step (block) and time of use (tier) when used in conjunction with TimeTariffInterval and ConsumptionTariffInterval.
Fields§
§currency: Option<CurrencyCode>
The currency code indicating the currency for this TariffProfile.
price_power_of_ten_multiplier: Option<PowerOfTenMultiplierType>
Indicates the power of ten multiplier for the price attribute.
primacy: PrimacyType
Indicates the relative primacy of the provider of this program.
rate_code: Option<String20>
The rate code for this tariff profile. Provided by the Pricing service provider per its internal business needs and practices and provides a method to identify the specific rate code for the TariffProfile instance. This would typically not be communicated to the user except to facilitate troubleshooting due to its service provider-specific technical nature.
rate_component_list_link: Option<RateComponentListLink>
§service_category_kind: ServiceKind
The kind of service provided by this usage point.
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 TariffProfile
impl Clone for TariffProfile
source§fn clone(&self) -> TariffProfile
fn clone(&self) -> TariffProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TariffProfile
impl Debug for TariffProfile
source§impl Default for TariffProfile
impl Default for TariffProfile
source§fn default() -> TariffProfile
fn default() -> TariffProfile
source§impl Ord for TariffProfile
impl Ord for TariffProfile
source§impl PartialEq<TariffProfile> for TariffProfile
impl PartialEq<TariffProfile> for TariffProfile
source§fn eq(&self, other: &TariffProfile) -> bool
fn eq(&self, other: &TariffProfile) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TariffProfile> for TariffProfile
impl PartialOrd<TariffProfile> for TariffProfile
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more