#[repr(C)]pub struct SystemUseHistory { /* private fields */ }
Expand description
Represents the system use history.
Implementations§
Source§impl SystemUseHistory
impl SystemUseHistory
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new SystemUseHistory.
Sourcepub const fn current_date_time(&self) -> &CurrentDateTime
pub const fn current_date_time(&self) -> &CurrentDateTime
Gets the CurrentDateTime for SystemUseHistory.
Sourcepub fn set_current_date_time(&mut self, val: CurrentDateTime)
pub fn set_current_date_time(&mut self, val: CurrentDateTime)
Sets the CurrentDateTime for SystemUseHistory.
Sourcepub fn with_current_date_time(self, val: CurrentDateTime) -> Self
pub fn with_current_date_time(self, val: CurrentDateTime) -> Self
Builder function that sets the CurrentDateTime for SystemUseHistory.
Sourcepub const fn up_time(&self) -> &UpTime
pub const fn up_time(&self) -> &UpTime
Gets the UpTime for SystemUseHistory.
Sourcepub fn set_up_time(&mut self, val: UpTime)
pub fn set_up_time(&mut self, val: UpTime)
Sets the UpTime for SystemUseHistory.
Sourcepub fn with_up_time(self, val: UpTime) -> Self
pub fn with_up_time(self, val: UpTime) -> Self
Builder function that sets the UpTime for SystemUseHistory.
Sourcepub const fn total_up_time(&self) -> &TotalUpTime
pub const fn total_up_time(&self) -> &TotalUpTime
Gets the TotalUpTime for SystemUseHistory.
Sourcepub fn set_total_up_time(&mut self, val: TotalUpTime)
pub fn set_total_up_time(&mut self, val: TotalUpTime)
Sets the TotalUpTime for SystemUseHistory.
Sourcepub fn with_total_up_time(self, val: TotalUpTime) -> Self
pub fn with_total_up_time(self, val: TotalUpTime) -> Self
Builder function that sets the TotalUpTime for SystemUseHistory.
Sourcepub const fn time_since_operational(&self) -> &TimeSinceOperational
pub const fn time_since_operational(&self) -> &TimeSinceOperational
Gets the TimeSinceOperational for SystemUseHistory.
Sourcepub fn set_time_since_operational(&mut self, val: TimeSinceOperational)
pub fn set_time_since_operational(&mut self, val: TimeSinceOperational)
Sets the TimeSinceOperational for SystemUseHistory.
Sourcepub fn with_time_since_operational(self, val: TimeSinceOperational) -> Self
pub fn with_time_since_operational(self, val: TimeSinceOperational) -> Self
Builder function that sets the TimeSinceOperational for SystemUseHistory.
Sourcepub const fn system_cycle_count(&self) -> &SystemCycleCount
pub const fn system_cycle_count(&self) -> &SystemCycleCount
Gets the SystemCycleCount for SystemUseHistory.
Sourcepub fn set_system_cycle_count(&mut self, val: SystemCycleCount)
pub fn set_system_cycle_count(&mut self, val: SystemCycleCount)
Sets the SystemCycleCount for SystemUseHistory.
Sourcepub fn with_system_cycle_count(self, val: SystemCycleCount) -> Self
pub fn with_system_cycle_count(self, val: SystemCycleCount) -> Self
Builder function that sets the SystemCycleCount for SystemUseHistory.
Sourcepub const fn system_temperature(&self) -> &SystemTemperature
pub const fn system_temperature(&self) -> &SystemTemperature
Gets the SystemTemperature for SystemUseHistory.
Sourcepub fn set_system_temperature(&mut self, val: SystemTemperature)
pub fn set_system_temperature(&mut self, val: SystemTemperature)
Sets the SystemTemperature for SystemUseHistory.
Sourcepub fn with_system_temperature(self, val: SystemTemperature) -> Self
pub fn with_system_temperature(self, val: SystemTemperature) -> Self
Builder function that sets the SystemTemperature for SystemUseHistory.
Sourcepub const fn recognition_sensor_temperatures(
&self,
) -> &RecognitionSensorTemperatures
pub const fn recognition_sensor_temperatures( &self, ) -> &RecognitionSensorTemperatures
Gets the RecognitionSensorTemperatures for SystemUseHistory.
Sourcepub fn set_recognition_sensor_temperatures(
&mut self,
val: RecognitionSensorTemperatures,
)
pub fn set_recognition_sensor_temperatures( &mut self, val: RecognitionSensorTemperatures, )
Sets the RecognitionSensorTemperatures for SystemUseHistory.
Sourcepub fn with_recognition_sensor_temperatures(
self,
val: RecognitionSensorTemperatures,
) -> Self
pub fn with_recognition_sensor_temperatures( self, val: RecognitionSensorTemperatures, ) -> Self
Builder function that sets the RecognitionSensorTemperatures for SystemUseHistory.
Sourcepub const fn power_supply_voltage(&self) -> &PowerSupplyVoltage
pub const fn power_supply_voltage(&self) -> &PowerSupplyVoltage
Gets the PowerSupplyVoltage for SystemUseHistory.
Sourcepub fn set_power_supply_voltage(&mut self, val: PowerSupplyVoltage)
pub fn set_power_supply_voltage(&mut self, val: PowerSupplyVoltage)
Sets the PowerSupplyVoltage for SystemUseHistory.
Sourcepub fn with_power_supply_voltage(self, val: PowerSupplyVoltage) -> Self
pub fn with_power_supply_voltage(self, val: PowerSupplyVoltage) -> Self
Builder function that sets the PowerSupplyVoltage for SystemUseHistory.
Trait Implementations§
Source§impl Clone for SystemUseHistory
impl Clone for SystemUseHistory
Source§fn clone(&self) -> SystemUseHistory
fn clone(&self) -> SystemUseHistory
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more