pub struct EcosystemAlert {
pub alert_type: AlertType,
pub severity: f32,
pub message: String,
pub affected_paths: Vec<String>,
}Expand description
An ecosystem-level alert about codebase health.
Fields§
§alert_type: AlertTypeAlert type.
severity: f32Severity (0.0 = informational, 1.0 = critical).
message: StringHuman-readable message.
affected_paths: Vec<String>Affected file paths.
Trait Implementations§
Source§impl Clone for EcosystemAlert
impl Clone for EcosystemAlert
Source§fn clone(&self) -> EcosystemAlert
fn clone(&self) -> EcosystemAlert
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 EcosystemAlert
impl Debug for EcosystemAlert
Source§impl<'de> Deserialize<'de> for EcosystemAlert
impl<'de> Deserialize<'de> for EcosystemAlert
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
Auto Trait Implementations§
impl Freeze for EcosystemAlert
impl RefUnwindSafe for EcosystemAlert
impl Send for EcosystemAlert
impl Sync for EcosystemAlert
impl Unpin for EcosystemAlert
impl UnsafeUnpin for EcosystemAlert
impl UnwindSafe for EcosystemAlert
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