Struct sep2_common::packages::response::AppliedTargetReduction
source · pub struct AppliedTargetReduction {
pub _type: UnitType,
pub value: Uint16,
}
Available on crate features
response
and drlc
only.Expand description
Specifies the value of the TargetReduction applied by the device.
Fields§
§_type: UnitType
Enumerated field representing the type of reduction requested.
value: Uint16
Indicates the requested amount of the relevant commodity to be reduced.
Trait Implementations§
source§impl Clone for AppliedTargetReduction
impl Clone for AppliedTargetReduction
source§fn clone(&self) -> AppliedTargetReduction
fn clone(&self) -> AppliedTargetReduction
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 AppliedTargetReduction
impl Debug for AppliedTargetReduction
source§impl Default for AppliedTargetReduction
impl Default for AppliedTargetReduction
source§fn default() -> AppliedTargetReduction
fn default() -> AppliedTargetReduction
Returns the “default value” for a type. Read more
source§impl PartialEq<AppliedTargetReduction> for AppliedTargetReduction
impl PartialEq<AppliedTargetReduction> for AppliedTargetReduction
source§fn eq(&self, other: &AppliedTargetReduction) -> bool
fn eq(&self, other: &AppliedTargetReduction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for AppliedTargetReduction
impl YaDeserialize for AppliedTargetReduction
source§impl YaSerialize for AppliedTargetReduction
impl YaSerialize for AppliedTargetReduction
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 AppliedTargetReduction
impl Eq for AppliedTargetReduction
impl StructuralEq for AppliedTargetReduction
impl StructuralPartialEq for AppliedTargetReduction
Auto Trait Implementations§
impl RefUnwindSafe for AppliedTargetReduction
impl Send for AppliedTargetReduction
impl Sync for AppliedTargetReduction
impl Unpin for AppliedTargetReduction
impl UnwindSafe for AppliedTargetReduction
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