#[non_exhaustive]pub struct HwMonitorProfile {
pub name: String,
pub lower_threshold: Option<String>,
pub notification_type: Option<String>,
pub upper_threshold: Option<String>,
}Expand description
A monitor-profile <name> of hw-resource-monitor.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§lower_threshold: Option<String>§notification_type: Option<String>alarm, none or syslog.
upper_threshold: Option<String>Trait Implementations§
Source§impl Clone for HwMonitorProfile
impl Clone for HwMonitorProfile
Source§impl Debug for HwMonitorProfile
impl Debug for HwMonitorProfile
impl Eq for HwMonitorProfile
Source§impl PartialEq for HwMonitorProfile
impl PartialEq for HwMonitorProfile
impl StructuralPartialEq for HwMonitorProfile
Auto Trait Implementations§
impl Forget for HwMonitorProfile
impl Freeze for HwMonitorProfile
impl Move for HwMonitorProfile
impl RefUnwindSafe for HwMonitorProfile
impl Send for HwMonitorProfilewhere
RawVecInner: Send,
impl Sync for HwMonitorProfilewhere
RawVecInner: Sync,
impl Unpin for HwMonitorProfile
impl UnsafeUnpin for HwMonitorProfile
impl UnwindSafe for HwMonitorProfilewhere
RawVecInner: UnwindSafe,
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