Struct sep2_common::packages::edev::Temperature
source · pub struct Temperature {
pub multiplier: PowerOfTenMultiplierType,
pub subject: Uint8,
pub value: Int16,
}
Available on crate feature
edev
only.Expand description
Specification of a temperature.
Fields§
§multiplier: PowerOfTenMultiplierType
Multiplier for ‘unit’.
subject: Uint8
The subject of the temperature measurement 0 - Enclosure 1 - Transformer 2 - HeatSink
value: Int16
Value in Degrees Celsius (uom 23).
Trait Implementations§
source§impl Clone for Temperature
impl Clone for Temperature
source§fn clone(&self) -> Temperature
fn clone(&self) -> Temperature
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 Temperature
impl Debug for Temperature
source§impl Default for Temperature
impl Default for Temperature
source§fn default() -> Temperature
fn default() -> Temperature
Returns the “default value” for a type. Read more
source§impl PartialEq<Temperature> for Temperature
impl PartialEq<Temperature> for Temperature
source§fn eq(&self, other: &Temperature) -> bool
fn eq(&self, other: &Temperature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for Temperature
impl YaDeserialize for Temperature
source§impl YaSerialize for Temperature
impl YaSerialize for Temperature
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 Temperature
impl StructuralEq for Temperature
impl StructuralPartialEq for Temperature
Auto Trait Implementations§
impl RefUnwindSafe for Temperature
impl Send for Temperature
impl Sync for Temperature
impl Unpin for Temperature
impl UnwindSafe for Temperature
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