#[repr(u8)]pub enum ApplianceLoadReductionType {
DelayApplianceLoad = 0,
TemporaryApplianceLoadReduction = 1,
}
Variants§
DelayApplianceLoad = 0
Parameter requesting the appliance to respond by providing a moderate load reduction for the duration of a delay period. Typically referring to a “non-emergency” event in which appliances can continue operating if already in a load consuming period.
TemporaryApplianceLoadReduction = 1
Parameter requesting the appliance to respond by providing an aggressive load reduction for a short time period. Typically referring to an “emergency/spinning reserve” event in which an appliance should start shedding load if currently in a load consuming period.
Trait Implementations§
source§impl Clone for ApplianceLoadReductionType
impl Clone for ApplianceLoadReductionType
source§fn clone(&self) -> ApplianceLoadReductionType
fn clone(&self) -> ApplianceLoadReductionType
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 ApplianceLoadReductionType
impl Debug for ApplianceLoadReductionType
source§impl Default for ApplianceLoadReductionType
impl Default for ApplianceLoadReductionType
source§fn default() -> ApplianceLoadReductionType
fn default() -> ApplianceLoadReductionType
Returns the “default value” for a type. Read more
source§impl PartialEq<ApplianceLoadReductionType> for ApplianceLoadReductionType
impl PartialEq<ApplianceLoadReductionType> for ApplianceLoadReductionType
source§fn eq(&self, other: &ApplianceLoadReductionType) -> bool
fn eq(&self, other: &ApplianceLoadReductionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for ApplianceLoadReductionType
impl YaDeserialize for ApplianceLoadReductionType
source§impl YaSerialize for ApplianceLoadReductionType
impl YaSerialize for ApplianceLoadReductionType
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 Copy for ApplianceLoadReductionType
impl Eq for ApplianceLoadReductionType
impl StructuralEq for ApplianceLoadReductionType
impl StructuralPartialEq for ApplianceLoadReductionType
Auto Trait Implementations§
impl RefUnwindSafe for ApplianceLoadReductionType
impl Send for ApplianceLoadReductionType
impl Sync for ApplianceLoadReductionType
impl Unpin for ApplianceLoadReductionType
impl UnwindSafe for ApplianceLoadReductionType
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