pub struct PluginDiagnosticFinding {
pub code: PluginDiagnosticCode,
pub severity: PluginDiagnosticSeverity,
pub phase: PluginDiagnosticPhase,
pub blocking: bool,
pub plugin_id: Option<String>,
pub source_path: Option<String>,
pub source_kind: Option<PluginSourceKind>,
pub field_path: Option<String>,
pub message: String,
pub remediation: Option<String>,
}Fields§
§code: PluginDiagnosticCode§severity: PluginDiagnosticSeverity§phase: PluginDiagnosticPhase§blocking: bool§plugin_id: Option<String>§source_path: Option<String>§source_kind: Option<PluginSourceKind>§field_path: Option<String>§message: String§remediation: Option<String>Implementations§
Source§impl PluginDiagnosticFinding
impl PluginDiagnosticFinding
pub fn matches_plugin(&self, source_path: &str, plugin_id: &str) -> bool
Trait Implementations§
Source§impl Clone for PluginDiagnosticFinding
impl Clone for PluginDiagnosticFinding
Source§fn clone(&self) -> PluginDiagnosticFinding
fn clone(&self) -> PluginDiagnosticFinding
Returns a duplicate of the value. Read more
1.0.0 · 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 PluginDiagnosticFinding
impl Debug for PluginDiagnosticFinding
Source§impl<'de> Deserialize<'de> for PluginDiagnosticFinding
impl<'de> Deserialize<'de> for PluginDiagnosticFinding
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
Source§impl PartialEq for PluginDiagnosticFinding
impl PartialEq for PluginDiagnosticFinding
Source§impl Serialize for PluginDiagnosticFinding
impl Serialize for PluginDiagnosticFinding
impl Eq for PluginDiagnosticFinding
impl StructuralPartialEq for PluginDiagnosticFinding
Auto Trait Implementations§
impl Freeze for PluginDiagnosticFinding
impl RefUnwindSafe for PluginDiagnosticFinding
impl Send for PluginDiagnosticFinding
impl Sync for PluginDiagnosticFinding
impl Unpin for PluginDiagnosticFinding
impl UnsafeUnpin for PluginDiagnosticFinding
impl UnwindSafe for PluginDiagnosticFinding
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