pub struct PedalWarning {
pub severity: Severity,
pub code: &'static str,
pub message: String,
}Expand description
A single validation warning from a .pedal file.
Fields§
§severity: Severity§code: &'static strShort machine-readable code (e.g., “unknown-pin”, “orphaned-component”).
message: StringHuman-readable explanation.
Trait Implementations§
Source§impl Clone for PedalWarning
impl Clone for PedalWarning
Source§fn clone(&self) -> PedalWarning
fn clone(&self) -> PedalWarning
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 moreSource§impl Debug for PedalWarning
impl Debug for PedalWarning
Auto Trait Implementations§
impl Freeze for PedalWarning
impl RefUnwindSafe for PedalWarning
impl Send for PedalWarning
impl Sync for PedalWarning
impl Unpin for PedalWarning
impl UnsafeUnpin for PedalWarning
impl UnwindSafe for PedalWarning
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