Struct sep2_common::packages::drlc::LoadShedAvailability
source · pub struct LoadShedAvailability {
pub availability_duration: Option<Uint32>,
pub demand_response_program_link: Option<DemandResponseProgramLink>,
pub sheddable_percent: Option<Percent>,
pub sheddable_power: Option<ActivePower>,
pub href: Option<String>,
}
Available on crate feature
drlc
only.Fields§
§availability_duration: Option<Uint32>
Indicates for how many seconds the consuming device will be able to reduce consumption at the maximum response level.
demand_response_program_link: Option<DemandResponseProgramLink>
§sheddable_percent: Option<Percent>
Maximum percent of current operating load that is estimated to be sheddable.
sheddable_power: Option<ActivePower>
Maximum amount of current operating load that is estimated to be sheddable, in Watts.
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 LoadShedAvailability
impl Clone for LoadShedAvailability
source§fn clone(&self) -> LoadShedAvailability
fn clone(&self) -> LoadShedAvailability
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 LoadShedAvailability
impl Debug for LoadShedAvailability
source§impl Default for LoadShedAvailability
impl Default for LoadShedAvailability
source§fn default() -> LoadShedAvailability
fn default() -> LoadShedAvailability
Returns the “default value” for a type. Read more
source§impl Ord for LoadShedAvailability
impl Ord for LoadShedAvailability
source§impl PartialEq<LoadShedAvailability> for LoadShedAvailability
impl PartialEq<LoadShedAvailability> for LoadShedAvailability
source§fn eq(&self, other: &LoadShedAvailability) -> bool
fn eq(&self, other: &LoadShedAvailability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LoadShedAvailability> for LoadShedAvailability
impl PartialOrd<LoadShedAvailability> for LoadShedAvailability
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 SEResource for LoadShedAvailability
impl SEResource for LoadShedAvailability
source§impl YaDeserialize for LoadShedAvailability
impl YaDeserialize for LoadShedAvailability
source§impl YaSerialize for LoadShedAvailability
impl YaSerialize for LoadShedAvailability
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 LoadShedAvailability
impl StructuralEq for LoadShedAvailability
impl StructuralPartialEq for LoadShedAvailability
Auto Trait Implementations§
impl RefUnwindSafe for LoadShedAvailability
impl Send for LoadShedAvailability
impl Sync for LoadShedAvailability
impl Unpin for LoadShedAvailability
impl UnwindSafe for LoadShedAvailability
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