pub struct SuggestionItem {Show 15 fields
pub id: String,
pub source_path: Option<String>,
pub source_kind: Option<String>,
pub output_path: Option<String>,
pub affected_path: String,
pub preset: Option<String>,
pub width: Option<u32>,
pub format: Option<String>,
pub warning_code: String,
pub severity: String,
pub acknowledged: bool,
pub rationale: String,
pub suggested_config: Option<SuggestedConfigPatch>,
pub commands: Vec<String>,
pub next_command: String,
}Fields§
§id: String§source_path: Option<String>§source_kind: Option<String>§output_path: Option<String>§affected_path: String§preset: Option<String>§width: Option<u32>§format: Option<String>§warning_code: String§severity: String§acknowledged: bool§rationale: String§suggested_config: Option<SuggestedConfigPatch>§commands: Vec<String>§next_command: StringTrait Implementations§
Source§impl Clone for SuggestionItem
impl Clone for SuggestionItem
Source§impl Debug for SuggestionItem
impl Debug for SuggestionItem
impl Eq for SuggestionItem
Source§impl PartialEq for SuggestionItem
impl PartialEq for SuggestionItem
Source§impl Serialize for SuggestionItem
impl Serialize for SuggestionItem
impl StructuralPartialEq for SuggestionItem
Auto Trait Implementations§
impl Freeze for SuggestionItem
impl RefUnwindSafe for SuggestionItem
impl Send for SuggestionItem
impl Sync for SuggestionItem
impl Unpin for SuggestionItem
impl UnsafeUnpin for SuggestionItem
impl UnwindSafe for SuggestionItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more