pub struct ConsumptionTariffIntervalList {
pub consumption_tariff_interval: Vec<ConsumptionTariffInterval>,
pub all: Uint32,
pub results: Uint32,
pub href: Option<String>,
}
Available on crate feature
pricing
only.Fields§
§consumption_tariff_interval: Vec<ConsumptionTariffInterval>
§all: Uint32
The number specifying “all” of the items in the list. Required on a response to a GET, ignored otherwise.
results: Uint32
Indicates the number of items in this page of results.
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 ConsumptionTariffIntervalList
impl Clone for ConsumptionTariffIntervalList
source§fn clone(&self) -> ConsumptionTariffIntervalList
fn clone(&self) -> ConsumptionTariffIntervalList
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 Default for ConsumptionTariffIntervalList
impl Default for ConsumptionTariffIntervalList
source§fn default() -> ConsumptionTariffIntervalList
fn default() -> ConsumptionTariffIntervalList
Returns the “default value” for a type. Read more
source§impl PartialEq<ConsumptionTariffIntervalList> for ConsumptionTariffIntervalList
impl PartialEq<ConsumptionTariffIntervalList> for ConsumptionTariffIntervalList
source§fn eq(&self, other: &ConsumptionTariffIntervalList) -> bool
fn eq(&self, other: &ConsumptionTariffIntervalList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEList for ConsumptionTariffIntervalList
impl SEList for ConsumptionTariffIntervalList
type Inner = ConsumptionTariffInterval
fn all(&self) -> Uint32
fn all_mut(&mut self) -> &mut Uint32
fn results(&self) -> Uint32
fn results_mut(&mut self) -> &mut Uint32
fn list_as_slice(&self) -> &[Self::Inner]
fn list_mut(&mut self) -> &mut Vec<Self::Inner>
source§impl YaDeserialize for ConsumptionTariffIntervalList
impl YaDeserialize for ConsumptionTariffIntervalList
source§impl YaSerialize for ConsumptionTariffIntervalList
impl YaSerialize for ConsumptionTariffIntervalList
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 ConsumptionTariffIntervalList
impl StructuralEq for ConsumptionTariffIntervalList
impl StructuralPartialEq for ConsumptionTariffIntervalList
Auto Trait Implementations§
impl RefUnwindSafe for ConsumptionTariffIntervalList
impl Send for ConsumptionTariffIntervalList
impl Sync for ConsumptionTariffIntervalList
impl Unpin for ConsumptionTariffIntervalList
impl UnwindSafe for ConsumptionTariffIntervalList
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