#[non_exhaustive]pub struct HwResourceList {
pub name: String,
pub resource_names: Vec<String>,
}Expand description
A resource-list <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§resource_names: Vec<String>The resource-names, e.g. lpm-ipv4.
Trait Implementations§
Source§impl Clone for HwResourceList
impl Clone for HwResourceList
Source§impl Debug for HwResourceList
impl Debug for HwResourceList
impl Eq for HwResourceList
Source§impl PartialEq for HwResourceList
impl PartialEq for HwResourceList
impl StructuralPartialEq for HwResourceList
Auto Trait Implementations§
impl Forget for HwResourceList
impl Freeze for HwResourceList
impl Move for HwResourceList
impl RefUnwindSafe for HwResourceList
impl Send for HwResourceListwhere
RawVecInner: Send,
impl Sync for HwResourceListwhere
RawVecInner: Sync,
impl Unpin for HwResourceList
impl UnsafeUnpin for HwResourceListwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for HwResourceListwhere
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