#[non_exhaustive]pub struct HwResourceMonitor {
pub polling_interval: Option<String>,
pub monitor_profiles: Vec<HwMonitorProfile>,
pub resource_lists: Vec<HwResourceList>,
}Expand description
The hw-resource-monitor block.
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.polling_interval: Option<String>Milliseconds.
monitor_profiles: Vec<HwMonitorProfile>§resource_lists: Vec<HwResourceList>Trait Implementations§
Source§impl Clone for HwResourceMonitor
impl Clone for HwResourceMonitor
Source§impl Debug for HwResourceMonitor
impl Debug for HwResourceMonitor
impl Eq for HwResourceMonitor
Source§impl PartialEq for HwResourceMonitor
impl PartialEq for HwResourceMonitor
impl StructuralPartialEq for HwResourceMonitor
Auto Trait Implementations§
impl Forget for HwResourceMonitor
impl Freeze for HwResourceMonitorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<HwMonitorProfile>: Freeze,
PhantomData<HwResourceList>: Freeze,
impl Move for HwResourceMonitor
impl RefUnwindSafe for HwResourceMonitor
impl Send for HwResourceMonitorwhere
RawVecInner: Send,
impl Sync for HwResourceMonitorwhere
RawVecInner: Sync,
impl Unpin for HwResourceMonitor
impl UnsafeUnpin for HwResourceMonitorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<HwMonitorProfile>: UnsafeUnpin,
PhantomData<HwResourceList>: UnsafeUnpin,
impl UnwindSafe for HwResourceMonitorwhere
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