pub struct IssueRecommendation {
pub id: String,
pub class: String,
pub severity: RecommendationSeverity,
pub affected_assets: Vec<String>,
pub evidence: Vec<String>,
pub suggested_fix: String,
pub candidate_modules: Vec<String>,
}Expand description
Caller-provided issue recommendation.
Fields§
§id: StringStable recommendation id.
class: StringMachine-readable recommendation class.
severity: RecommendationSeverityRecommendation severity.
affected_assets: Vec<String>Affected asset paths.
evidence: Vec<String>Short evidence snippets.
suggested_fix: StringSuggested generic fix.
candidate_modules: Vec<String>Candidate modules or subsystems, if known to the caller.
Trait Implementations§
Source§impl Clone for IssueRecommendation
impl Clone for IssueRecommendation
Source§fn clone(&self) -> IssueRecommendation
fn clone(&self) -> IssueRecommendation
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 IssueRecommendation
impl Debug for IssueRecommendation
Source§impl<'de> Deserialize<'de> for IssueRecommendation
impl<'de> Deserialize<'de> for IssueRecommendation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IssueRecommendation
Source§impl PartialEq for IssueRecommendation
impl PartialEq for IssueRecommendation
Source§fn eq(&self, other: &IssueRecommendation) -> bool
fn eq(&self, other: &IssueRecommendation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IssueRecommendation
impl Serialize for IssueRecommendation
impl StructuralPartialEq for IssueRecommendation
Auto Trait Implementations§
impl Freeze for IssueRecommendation
impl RefUnwindSafe for IssueRecommendation
impl Send for IssueRecommendation
impl Sync for IssueRecommendation
impl Unpin for IssueRecommendation
impl UnsafeUnpin for IssueRecommendation
impl UnwindSafe for IssueRecommendation
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.