pub struct Remedy {
pub id: &'static str,
pub kind: RemedyKind,
pub summary: String,
pub patch: Vec<PatchOperation>,
pub validated: bool,
pub resolves: bool,
}Expand description
A candidate correction.
Fields§
§id: &'static str§kind: RemedyKind§summary: String§patch: Vec<PatchOperation>Empty for a remedy that is guidance only.
validated: boolWhether the patched specification was rendered to find out.
resolves: boolWhether that render no longer had the warning, and no layout warning that was not there.
Trait Implementations§
impl StructuralPartialEq for Remedy
Auto Trait Implementations§
impl Freeze for Remedy
impl RefUnwindSafe for Remedy
impl Send for Remedy
impl Sync for Remedy
impl Unpin for Remedy
impl UnsafeUnpin for Remedy
impl UnwindSafe for Remedy
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