#[repr(C)]pub struct SystemFailureHistoryInternal { /* private fields */ }
Expand description
Alternative internal representation the history of system failure events.
Implementations§
Source§impl SystemFailureHistoryInternal
impl SystemFailureHistoryInternal
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new SystemFailureHistoryInternal.
Sourcepub const fn hardware_failure_count(&self) -> &HardwareFailureCount
pub const fn hardware_failure_count(&self) -> &HardwareFailureCount
Gets the HardwareFailureCount for SystemFailureHistoryInternal.
Sourcepub fn set_hardware_failure_count(&mut self, val: HardwareFailureCount)
pub fn set_hardware_failure_count(&mut self, val: HardwareFailureCount)
Sets the HardwareFailureCount for SystemFailureHistoryInternal.
Sourcepub fn with_hardware_failure_count(self, val: HardwareFailureCount) -> Self
pub fn with_hardware_failure_count(self, val: HardwareFailureCount) -> Self
Builder function that sets the HardwareFailureCount for SystemFailureHistoryInternal.
Sourcepub const fn hardware_failure_with_bill_stopped_count(
&self,
) -> &HardwareFailureWithBillStoppedCount
pub const fn hardware_failure_with_bill_stopped_count( &self, ) -> &HardwareFailureWithBillStoppedCount
Sourcepub fn set_hardware_failure_with_bill_stopped_count(
&mut self,
val: HardwareFailureWithBillStoppedCount,
)
pub fn set_hardware_failure_with_bill_stopped_count( &mut self, val: HardwareFailureWithBillStoppedCount, )
Sourcepub fn with_hardware_failure_with_bill_stopped_count(
self,
val: HardwareFailureWithBillStoppedCount,
) -> Self
pub fn with_hardware_failure_with_bill_stopped_count( self, val: HardwareFailureWithBillStoppedCount, ) -> Self
Builder function that sets the HardwareFailureWithBillStoppedCount for SystemFailureHistoryInternal.
Sourcepub const fn operational_degraded_count(&self) -> &OperationalDegradedCount
pub const fn operational_degraded_count(&self) -> &OperationalDegradedCount
Gets the OperationalDegradedCount for SystemFailureHistoryInternal.
Sourcepub fn set_operational_degraded_count(&mut self, val: OperationalDegradedCount)
pub fn set_operational_degraded_count(&mut self, val: OperationalDegradedCount)
Sets the OperationalDegradedCount for SystemFailureHistoryInternal.
Sourcepub fn with_operational_degraded_count(
self,
val: OperationalDegradedCount,
) -> Self
pub fn with_operational_degraded_count( self, val: OperationalDegradedCount, ) -> Self
Builder function that sets the OperationalDegradedCount for SystemFailureHistoryInternal.
Sourcepub const fn bill_jam_count(&self) -> &BillJamCount
pub const fn bill_jam_count(&self) -> &BillJamCount
Gets the BillJamCount for SystemFailureHistoryInternal.
Sourcepub fn set_bill_jam_count(&mut self, val: BillJamCount)
pub fn set_bill_jam_count(&mut self, val: BillJamCount)
Sets the BillJamCount for SystemFailureHistoryInternal.
Sourcepub fn with_bill_jam_count(self, val: BillJamCount) -> Self
pub fn with_bill_jam_count(self, val: BillJamCount) -> Self
Builder function that sets the BillJamCount for SystemFailureHistoryInternal.
Sourcepub const fn environment_error_count(&self) -> &EnvironmentErrorCount
pub const fn environment_error_count(&self) -> &EnvironmentErrorCount
Gets the EnvironmentErrorCount for SystemFailureHistoryInternal.
Sourcepub fn set_environment_error_count(&mut self, val: EnvironmentErrorCount)
pub fn set_environment_error_count(&mut self, val: EnvironmentErrorCount)
Sets the EnvironmentErrorCount for SystemFailureHistoryInternal.
Sourcepub fn with_environment_error_count(self, val: EnvironmentErrorCount) -> Self
pub fn with_environment_error_count(self, val: EnvironmentErrorCount) -> Self
Builder function that sets the EnvironmentErrorCount for SystemFailureHistoryInternal.
Sourcepub const fn bill_error_count(&self) -> &BillErrorCount
pub const fn bill_error_count(&self) -> &BillErrorCount
Gets the BillErrorCount for SystemFailureHistoryInternal.
Sourcepub fn set_bill_error_count(&mut self, val: BillErrorCount)
pub fn set_bill_error_count(&mut self, val: BillErrorCount)
Sets the BillErrorCount for SystemFailureHistoryInternal.
Sourcepub fn with_bill_error_count(self, val: BillErrorCount) -> Self
pub fn with_bill_error_count(self, val: BillErrorCount) -> Self
Builder function that sets the BillErrorCount for SystemFailureHistoryInternal.
Sourcepub const fn transport_error_count(&self) -> &TransportErrorCount
pub const fn transport_error_count(&self) -> &TransportErrorCount
Gets the TransportErrorCount for SystemFailureHistoryInternal.
Sourcepub fn set_transport_error_count(&mut self, val: TransportErrorCount)
pub fn set_transport_error_count(&mut self, val: TransportErrorCount)
Sets the TransportErrorCount for SystemFailureHistoryInternal.
Sourcepub fn with_transport_error_count(self, val: TransportErrorCount) -> Self
pub fn with_transport_error_count(self, val: TransportErrorCount) -> Self
Builder function that sets the TransportErrorCount for SystemFailureHistoryInternal.
Sourcepub const fn bill_too_short_in_bottom_transport_bw_count(
&self,
) -> &BillTooShortInBottomTransportBwCount
pub const fn bill_too_short_in_bottom_transport_bw_count( &self, ) -> &BillTooShortInBottomTransportBwCount
Sourcepub fn set_bill_too_short_in_bottom_transport_bw_count(
&mut self,
val: BillTooShortInBottomTransportBwCount,
)
pub fn set_bill_too_short_in_bottom_transport_bw_count( &mut self, val: BillTooShortInBottomTransportBwCount, )
Sourcepub fn with_bill_too_short_in_bottom_transport_bw_count(
self,
val: BillTooShortInBottomTransportBwCount,
) -> Self
pub fn with_bill_too_short_in_bottom_transport_bw_count( self, val: BillTooShortInBottomTransportBwCount, ) -> Self
Builder function that sets the BillTooShortInBottomTransportBwCount for SystemFailureHistoryInternal.
Sourcepub const fn bill_too_long_in_bottom_transport_bw_count(
&self,
) -> &BillTooLongInBottomTransportBwCount
pub const fn bill_too_long_in_bottom_transport_bw_count( &self, ) -> &BillTooLongInBottomTransportBwCount
Sourcepub fn set_bill_too_long_in_bottom_transport_bw_count(
&mut self,
val: BillTooLongInBottomTransportBwCount,
)
pub fn set_bill_too_long_in_bottom_transport_bw_count( &mut self, val: BillTooLongInBottomTransportBwCount, )
Sourcepub fn with_bill_too_long_in_bottom_transport_bw_count(
self,
val: BillTooLongInBottomTransportBwCount,
) -> Self
pub fn with_bill_too_long_in_bottom_transport_bw_count( self, val: BillTooLongInBottomTransportBwCount, ) -> Self
Builder function that sets the BillTooLongInBottomTransportBwCount for SystemFailureHistoryInternal.
Sourcepub const fn bill_too_short_in_spine_fw_count(
&self,
) -> &BillTooShortInSpineFwCount
pub const fn bill_too_short_in_spine_fw_count( &self, ) -> &BillTooShortInSpineFwCount
Gets the BillTooShortInSpineFwCount for SystemFailureHistoryInternal.
Sourcepub fn set_bill_too_short_in_spine_fw_count(
&mut self,
val: BillTooShortInSpineFwCount,
)
pub fn set_bill_too_short_in_spine_fw_count( &mut self, val: BillTooShortInSpineFwCount, )
Sets the BillTooShortInSpineFwCount for SystemFailureHistoryInternal.
Sourcepub fn with_bill_too_short_in_spine_fw_count(
self,
val: BillTooShortInSpineFwCount,
) -> Self
pub fn with_bill_too_short_in_spine_fw_count( self, val: BillTooShortInSpineFwCount, ) -> Self
Builder function that sets the BillTooShortInSpineFwCount for SystemFailureHistoryInternal.
Sourcepub const fn bill_too_long_in_spine_fw_count(
&self,
) -> &BillTooLongInSpineFwCount
pub const fn bill_too_long_in_spine_fw_count( &self, ) -> &BillTooLongInSpineFwCount
Gets the BillTooLongInSpineFwCount for SystemFailureHistoryInternal.
Sourcepub fn set_bill_too_long_in_spine_fw_count(
&mut self,
val: BillTooLongInSpineFwCount,
)
pub fn set_bill_too_long_in_spine_fw_count( &mut self, val: BillTooLongInSpineFwCount, )
Sets the BillTooLongInSpineFwCount for SystemFailureHistoryInternal.
Sourcepub fn with_bill_too_long_in_spine_fw_count(
self,
val: BillTooLongInSpineFwCount,
) -> Self
pub fn with_bill_too_long_in_spine_fw_count( self, val: BillTooLongInSpineFwCount, ) -> Self
Builder function that sets the BillTooLongInSpineFwCount for SystemFailureHistoryInternal.
Sourcepub const fn missing_module_count(&self) -> &MissingModuleCount
pub const fn missing_module_count(&self) -> &MissingModuleCount
Gets the MissingModuleCount for SystemFailureHistoryInternal.
Sourcepub fn set_missing_module_count(&mut self, val: MissingModuleCount)
pub fn set_missing_module_count(&mut self, val: MissingModuleCount)
Sets the MissingModuleCount for SystemFailureHistoryInternal.
Sourcepub fn with_missing_module_count(self, val: MissingModuleCount) -> Self
pub fn with_missing_module_count(self, val: MissingModuleCount) -> Self
Builder function that sets the MissingModuleCount for SystemFailureHistoryInternal.
Sourcepub const fn configuration_error_count(&self) -> &ConfigurationErrorCount
pub const fn configuration_error_count(&self) -> &ConfigurationErrorCount
Gets the ConfigurationErrorCount for SystemFailureHistoryInternal.
Sourcepub fn set_configuration_error_count(&mut self, val: ConfigurationErrorCount)
pub fn set_configuration_error_count(&mut self, val: ConfigurationErrorCount)
Sets the ConfigurationErrorCount for SystemFailureHistoryInternal.
Sourcepub fn with_configuration_error_count(
self,
val: ConfigurationErrorCount,
) -> Self
pub fn with_configuration_error_count( self, val: ConfigurationErrorCount, ) -> Self
Builder function that sets the ConfigurationErrorCount for SystemFailureHistoryInternal.
Sourcepub const fn incompatible_software_count(&self) -> &IncompatibleSoftwareCount
pub const fn incompatible_software_count(&self) -> &IncompatibleSoftwareCount
Gets the IncompatibleSoftwareCount for SystemFailureHistoryInternal.
Sourcepub fn set_incompatible_software_count(
&mut self,
val: IncompatibleSoftwareCount,
)
pub fn set_incompatible_software_count( &mut self, val: IncompatibleSoftwareCount, )
Sets the IncompatibleSoftwareCount for SystemFailureHistoryInternal.
Sourcepub fn with_incompatible_software_count(
self,
val: IncompatibleSoftwareCount,
) -> Self
pub fn with_incompatible_software_count( self, val: IncompatibleSoftwareCount, ) -> Self
Builder function that sets the IncompatibleSoftwareCount for SystemFailureHistoryInternal.
Sourcepub const fn reset_with_cover_open_count(&self) -> &ResetWithCoverOpenCount
pub const fn reset_with_cover_open_count(&self) -> &ResetWithCoverOpenCount
Gets the ResetWithCoverOpenCount for SystemFailureHistoryInternal.
Sourcepub fn set_reset_with_cover_open_count(&mut self, val: ResetWithCoverOpenCount)
pub fn set_reset_with_cover_open_count(&mut self, val: ResetWithCoverOpenCount)
Sets the ResetWithCoverOpenCount for SystemFailureHistoryInternal.
Sourcepub fn with_reset_with_cover_open_count(
self,
val: ResetWithCoverOpenCount,
) -> Self
pub fn with_reset_with_cover_open_count( self, val: ResetWithCoverOpenCount, ) -> Self
Builder function that sets the ResetWithCoverOpenCount for SystemFailureHistoryInternal.
Sourcepub const fn reset_with_interlock_open_count(
&self,
) -> &ResetWithInterlockOpenCount
pub const fn reset_with_interlock_open_count( &self, ) -> &ResetWithInterlockOpenCount
Gets the ResetWithInterlockOpenCount for SystemFailureHistoryInternal.
Sourcepub fn set_reset_with_interlock_open_count(
&mut self,
val: ResetWithInterlockOpenCount,
)
pub fn set_reset_with_interlock_open_count( &mut self, val: ResetWithInterlockOpenCount, )
Sets the ResetWithInterlockOpenCount for SystemFailureHistoryInternal.
Sourcepub fn with_reset_with_interlock_open_count(
self,
val: ResetWithInterlockOpenCount,
) -> Self
pub fn with_reset_with_interlock_open_count( self, val: ResetWithInterlockOpenCount, ) -> Self
Builder function that sets the ResetWithInterlockOpenCount for SystemFailureHistoryInternal.
Sourcepub const fn per_section_history(&self) -> &PerSectionHistoryInternal
pub const fn per_section_history(&self) -> &PerSectionHistoryInternal
Gets the PerSectionHistoryInternal for SystemFailureHistoryInternal.
Sourcepub fn set_per_section_history(&mut self, val: PerSectionHistoryInternal)
pub fn set_per_section_history(&mut self, val: PerSectionHistoryInternal)
Sets the PerSectionHistoryInternal for SystemFailureHistoryInternal.
Sourcepub fn with_per_section_history(self, val: PerSectionHistoryInternal) -> Self
pub fn with_per_section_history(self, val: PerSectionHistoryInternal) -> Self
Builder function that sets the PerSectionHistoryInternal for SystemFailureHistoryInternal.
Trait Implementations§
Source§impl Clone for SystemFailureHistoryInternal
impl Clone for SystemFailureHistoryInternal
Source§fn clone(&self) -> SystemFailureHistoryInternal
fn clone(&self) -> SystemFailureHistoryInternal
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SystemFailureHistoryInternal
impl Debug for SystemFailureHistoryInternal
Source§impl From<&SystemFailureHistoryInternal> for SystemFailureHistory
impl From<&SystemFailureHistoryInternal> for SystemFailureHistory
Source§fn from(val: &SystemFailureHistoryInternal) -> Self
fn from(val: &SystemFailureHistoryInternal) -> Self
Source§impl From<&SystemFailureHistoryInternal> for XfsMember
impl From<&SystemFailureHistoryInternal> for XfsMember
Source§fn from(val: &SystemFailureHistoryInternal) -> Self
fn from(val: &SystemFailureHistoryInternal) -> Self
Source§impl From<&SystemFailureHistoryInternal> for XfsStruct
impl From<&SystemFailureHistoryInternal> for XfsStruct
Source§fn from(val: &SystemFailureHistoryInternal) -> Self
fn from(val: &SystemFailureHistoryInternal) -> Self
Source§impl From<&SystemFailureHistoryInternal> for XfsValue
impl From<&SystemFailureHistoryInternal> for XfsValue
Source§fn from(val: &SystemFailureHistoryInternal) -> Self
fn from(val: &SystemFailureHistoryInternal) -> Self
Source§impl From<SystemFailureHistoryInternal> for SystemFailureHistory
impl From<SystemFailureHistoryInternal> for SystemFailureHistory
Source§fn from(val: SystemFailureHistoryInternal) -> Self
fn from(val: SystemFailureHistoryInternal) -> Self
Source§impl From<SystemFailureHistoryInternal> for XfsMember
impl From<SystemFailureHistoryInternal> for XfsMember
Source§fn from(val: SystemFailureHistoryInternal) -> Self
fn from(val: SystemFailureHistoryInternal) -> Self
Source§impl From<SystemFailureHistoryInternal> for XfsStruct
impl From<SystemFailureHistoryInternal> for XfsStruct
Source§fn from(val: SystemFailureHistoryInternal) -> Self
fn from(val: SystemFailureHistoryInternal) -> Self
Source§impl From<SystemFailureHistoryInternal> for XfsValue
impl From<SystemFailureHistoryInternal> for XfsValue
Source§fn from(val: SystemFailureHistoryInternal) -> Self
fn from(val: SystemFailureHistoryInternal) -> Self
Source§impl PartialEq for SystemFailureHistoryInternal
impl PartialEq for SystemFailureHistoryInternal
Source§fn eq(&self, other: &SystemFailureHistoryInternal) -> bool
fn eq(&self, other: &SystemFailureHistoryInternal) -> bool
self
and other
values to be equal, and is used by ==
.