pub struct AdvisorNote {
pub note: String,
pub severity: Option<AdvisorSeverity>,
}Expand description
Unstable (feature: advisor) — may change or be removed
One queued advice note. omp `AdvisorNote`.Fields§
§note: StringThe advice text, terse and specific.
severity: Option<AdvisorSeverity>Severity; None means a plain nit (omp treats an omitted severity as nit).
Implementations§
Trait Implementations§
Source§impl Clone for AdvisorNote
impl Clone for AdvisorNote
Source§fn clone(&self) -> AdvisorNote
fn clone(&self) -> AdvisorNote
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 AdvisorNote
impl RefUnwindSafe for AdvisorNote
impl Send for AdvisorNote
impl Sync for AdvisorNote
impl Unpin for AdvisorNote
impl UnsafeUnpin for AdvisorNote
impl UnwindSafe for AdvisorNote
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