Struct sep2_common::packages::drlc::LoadShedAvailabilityList
source · pub struct LoadShedAvailabilityList {
pub load_shed_availability: Vec<LoadShedAvailability>,
pub poll_rate: Option<Uint32>,
pub all: Uint32,
pub results: Uint32,
pub href: Option<String>,
}
Available on crate feature
drlc
only.Fields§
§load_shed_availability: Vec<LoadShedAvailability>
§poll_rate: Option<Uint32>
The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.
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 LoadShedAvailabilityList
impl Clone for LoadShedAvailabilityList
source§fn clone(&self) -> LoadShedAvailabilityList
fn clone(&self) -> LoadShedAvailabilityList
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 LoadShedAvailabilityList
impl Debug for LoadShedAvailabilityList
source§impl Default for LoadShedAvailabilityList
impl Default for LoadShedAvailabilityList
source§fn default() -> LoadShedAvailabilityList
fn default() -> LoadShedAvailabilityList
Returns the “default value” for a type. Read more
source§impl PartialEq<LoadShedAvailabilityList> for LoadShedAvailabilityList
impl PartialEq<LoadShedAvailabilityList> for LoadShedAvailabilityList
source§fn eq(&self, other: &LoadShedAvailabilityList) -> bool
fn eq(&self, other: &LoadShedAvailabilityList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEList for LoadShedAvailabilityList
impl SEList for LoadShedAvailabilityList
type Inner = LoadShedAvailability
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 LoadShedAvailabilityList
impl YaDeserialize for LoadShedAvailabilityList
source§impl YaSerialize for LoadShedAvailabilityList
impl YaSerialize for LoadShedAvailabilityList
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 LoadShedAvailabilityList
impl StructuralEq for LoadShedAvailabilityList
impl StructuralPartialEq for LoadShedAvailabilityList
Auto Trait Implementations§
impl RefUnwindSafe for LoadShedAvailabilityList
impl Send for LoadShedAvailabilityList
impl Sync for LoadShedAvailabilityList
impl Unpin for LoadShedAvailabilityList
impl UnwindSafe for LoadShedAvailabilityList
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