pub struct VoltageWarning {
pub component_id: String,
pub severity: WarningSeverity,
pub message: String,
}Expand description
A single voltage compatibility warning for a component.
Fields§
§component_id: String§severity: WarningSeverity§message: StringTrait Implementations§
Source§impl Clone for VoltageWarning
impl Clone for VoltageWarning
Source§fn clone(&self) -> VoltageWarning
fn clone(&self) -> VoltageWarning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VoltageWarning
impl RefUnwindSafe for VoltageWarning
impl Send for VoltageWarning
impl Sync for VoltageWarning
impl Unpin for VoltageWarning
impl UnsafeUnpin for VoltageWarning
impl UnwindSafe for VoltageWarning
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