Struct sep2_common::packages::drlc::DutyCycle
source · pub struct DutyCycle {
pub normal_value: Uint8,
}
Available on crate feature
drlc
only.Expand description
Duty cycle control is a device specific issue and is managed by the device. The duty cycle of the device under control should span the shortest practical time period in accordance with the nature of the device under control and the intent of the request for demand reduction. The default factory setting SHOULD be three minutes for each 10% of duty cycle. This indicates that the default time period over which a duty cycle is applied is 30 minutes, meaning a 10% duty cycle would cause a device to be ON for 3 minutes. The “off state” SHALL precede the “on state”.
Fields§
§normal_value: Uint8
Contains the maximum On state duty cycle applied by the end device, as a percentage of time. The field not present indicates that this field has not been used by the end device.
Trait Implementations§
source§impl PartialEq<DutyCycle> for DutyCycle
impl PartialEq<DutyCycle> for DutyCycle
source§impl YaSerialize for DutyCycle
impl YaSerialize for DutyCycle
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 DutyCycle
impl Eq for DutyCycle
impl StructuralEq for DutyCycle
impl StructuralPartialEq for DutyCycle
Auto Trait Implementations§
impl RefUnwindSafe for DutyCycle
impl Send for DutyCycle
impl Sync for DutyCycle
impl Unpin for DutyCycle
impl UnwindSafe for DutyCycle
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