pub struct Temperature {
pub minimum: i32,
pub maximum: i32,
pub errors: u32,
}Expand description
Temperature - Format (0,3001)
Temperature sensor readings
§XDR Definition (sFlow Discussion)
/* Temperature */
/* opaque = counter_data; enterprise = 0; format = 3001 */
struct temperature {
int minimum; /* temperature reading from coolest
thermometer
expressed in tenths of a degree Celsius
*/
int maximum; /* temperature reading from hottest
thermometer
expressed in tenths of a degree Celsius
*/
unsigned int errors; /* count of temperature exceptions */
}Fields§
§minimum: i32Temperature reading from coolest thermometer in tenths of a degree Celsius
maximum: i32Temperature reading from hottest thermometer in tenths of a degree Celsius
errors: u32Count of temperature exceptions
Trait Implementations§
Source§impl Clone for Temperature
impl Clone for Temperature
Source§fn clone(&self) -> Temperature
fn clone(&self) -> Temperature
Returns a duplicate 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 PartialEq for Temperature
impl PartialEq for Temperature
impl Eq for Temperature
impl StructuralPartialEq for Temperature
Auto Trait Implementations§
impl Freeze for Temperature
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