pub struct SafetyReportV1 {
pub schema_version: u32,
pub report_id: String,
pub diff_id: Option<String>,
pub status: SafetyStatusV1,
pub summary: String,
pub hard_failures: Vec<SafetyFindingV1>,
pub warnings: Vec<SafetyFindingV1>,
pub next_actions: Vec<String>,
}Expand description
SafetyReportV1
Fields§
§schema_version: u32§report_id: String§diff_id: Option<String>§status: SafetyStatusV1§summary: String§hard_failures: Vec<SafetyFindingV1>§warnings: Vec<SafetyFindingV1>§next_actions: Vec<String>Trait Implementations§
Source§impl Clone for SafetyReportV1
impl Clone for SafetyReportV1
Source§fn clone(&self) -> SafetyReportV1
fn clone(&self) -> SafetyReportV1
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 SafetyReportV1
impl Debug for SafetyReportV1
Source§impl<'de> Deserialize<'de> for SafetyReportV1
impl<'de> Deserialize<'de> for SafetyReportV1
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 SafetyReportV1
impl PartialEq for SafetyReportV1
Source§fn eq(&self, other: &SafetyReportV1) -> bool
fn eq(&self, other: &SafetyReportV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SafetyReportV1
impl Serialize for SafetyReportV1
impl Eq for SafetyReportV1
impl StructuralPartialEq for SafetyReportV1
Auto Trait Implementations§
impl Freeze for SafetyReportV1
impl RefUnwindSafe for SafetyReportV1
impl Send for SafetyReportV1
impl Sync for SafetyReportV1
impl Unpin for SafetyReportV1
impl UnsafeUnpin for SafetyReportV1
impl UnwindSafe for SafetyReportV1
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