Struct sep2_common::packages::drlc::ApplianceLoadReduction
source · pub struct ApplianceLoadReduction {
pub _type: ApplianceLoadReductionType,
}
Available on crate feature
drlc
only.Expand description
The ApplianceLoadReduction object is used by a Demand Response service provider to provide signals for ENERGY STAR compliant appliances. See the definition of ApplianceLoadReductionType for more information.
Fields§
§_type: ApplianceLoadReductionType
Indicates the type of appliance load reduction requested.
Trait Implementations§
source§impl Clone for ApplianceLoadReduction
impl Clone for ApplianceLoadReduction
source§fn clone(&self) -> ApplianceLoadReduction
fn clone(&self) -> ApplianceLoadReduction
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 ApplianceLoadReduction
impl Debug for ApplianceLoadReduction
source§impl Default for ApplianceLoadReduction
impl Default for ApplianceLoadReduction
source§fn default() -> ApplianceLoadReduction
fn default() -> ApplianceLoadReduction
Returns the “default value” for a type. Read more
source§impl PartialEq<ApplianceLoadReduction> for ApplianceLoadReduction
impl PartialEq<ApplianceLoadReduction> for ApplianceLoadReduction
source§fn eq(&self, other: &ApplianceLoadReduction) -> bool
fn eq(&self, other: &ApplianceLoadReduction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for ApplianceLoadReduction
impl YaDeserialize for ApplianceLoadReduction
source§impl YaSerialize for ApplianceLoadReduction
impl YaSerialize for ApplianceLoadReduction
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 ApplianceLoadReduction
impl Eq for ApplianceLoadReduction
impl StructuralEq for ApplianceLoadReduction
impl StructuralPartialEq for ApplianceLoadReduction
Auto Trait Implementations§
impl RefUnwindSafe for ApplianceLoadReduction
impl Send for ApplianceLoadReduction
impl Sync for ApplianceLoadReduction
impl Unpin for ApplianceLoadReduction
impl UnwindSafe for ApplianceLoadReduction
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