Struct sep2_common::packages::pricing::TimeTariffIntervalList
source · pub struct TimeTariffIntervalList {
pub time_tariff_interval: Vec<TimeTariffInterval>,
pub all: Uint32,
pub results: Uint32,
pub subscribable: Option<SubscribableType>,
pub href: Option<String>,
}
Available on crate feature
pricing
only.Fields§
§time_tariff_interval: Vec<TimeTariffInterval>
§all: Uint32
The number specifying “all” of the items in the list. Required on GET, ignored otherwise.
results: Uint32
Indicates the number of items in this page of results.
subscribable: Option<SubscribableType>
Indicates whether or not subscriptions are supported for this resource, and whether or not conditional (thresholds) are supported. If not specified, is “not subscribable” (0).
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 TimeTariffIntervalList
impl Clone for TimeTariffIntervalList
source§fn clone(&self) -> TimeTariffIntervalList
fn clone(&self) -> TimeTariffIntervalList
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 TimeTariffIntervalList
impl Debug for TimeTariffIntervalList
source§impl Default for TimeTariffIntervalList
impl Default for TimeTariffIntervalList
source§fn default() -> TimeTariffIntervalList
fn default() -> TimeTariffIntervalList
Returns the “default value” for a type. Read more
source§impl PartialEq<TimeTariffIntervalList> for TimeTariffIntervalList
impl PartialEq<TimeTariffIntervalList> for TimeTariffIntervalList
source§fn eq(&self, other: &TimeTariffIntervalList) -> bool
fn eq(&self, other: &TimeTariffIntervalList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEList for TimeTariffIntervalList
impl SEList for TimeTariffIntervalList
type Inner = TimeTariffInterval
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 SEResource for TimeTariffIntervalList
impl SEResource for TimeTariffIntervalList
source§impl SESubscribableResource for TimeTariffIntervalList
impl SESubscribableResource for TimeTariffIntervalList
fn subscribable(&self) -> Option<SubscribableType>
source§impl YaDeserialize for TimeTariffIntervalList
impl YaDeserialize for TimeTariffIntervalList
source§impl YaSerialize for TimeTariffIntervalList
impl YaSerialize for TimeTariffIntervalList
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 TimeTariffIntervalList
impl SESubscribableList for TimeTariffIntervalList
impl StructuralEq for TimeTariffIntervalList
impl StructuralPartialEq for TimeTariffIntervalList
Auto Trait Implementations§
impl RefUnwindSafe for TimeTariffIntervalList
impl Send for TimeTariffIntervalList
impl Sync for TimeTariffIntervalList
impl Unpin for TimeTariffIntervalList
impl UnwindSafe for TimeTariffIntervalList
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