pub struct FleetAlert {
pub schema: String,
pub id: String,
pub dependency: String,
pub old_version: Option<String>,
pub new_version: Option<String>,
pub affected_projects: Vec<AffectedProject>,
pub confidence: f64,
pub avg_delta_pct: f64,
pub first_seen: DateTime<Utc>,
}Expand description
A fleet-wide alert: multiple projects regressed after the same dependency update.
Fields§
§schema: StringSchema identifier
id: StringUnique alert identifier
dependency: StringDependency name
old_version: Option<String>Previous version
new_version: Option<String>New version
affected_projects: Vec<AffectedProject>Projects affected by this dependency change
confidence: f64Confidence score (0.0 - 1.0): higher means more projects affected
avg_delta_pct: f64Average delta percentage across affected projects
first_seen: DateTime<Utc>When the alert was first detected
Trait Implementations§
Source§impl Clone for FleetAlert
impl Clone for FleetAlert
Source§fn clone(&self) -> FleetAlert
fn clone(&self) -> FleetAlert
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 FleetAlert
impl Debug for FleetAlert
Source§impl<'de> Deserialize<'de> for FleetAlert
impl<'de> Deserialize<'de> for FleetAlert
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 JsonSchema for FleetAlert
impl JsonSchema for FleetAlert
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for FleetAlert
impl PartialEq for FleetAlert
Source§impl Serialize for FleetAlert
impl Serialize for FleetAlert
impl StructuralPartialEq for FleetAlert
Auto Trait Implementations§
impl Freeze for FleetAlert
impl RefUnwindSafe for FleetAlert
impl Send for FleetAlert
impl Sync for FleetAlert
impl Unpin for FleetAlert
impl UnsafeUnpin for FleetAlert
impl UnwindSafe for FleetAlert
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