pub struct Conflict {
pub id: String,
pub pattern_a_id: String,
pub pattern_b_id: String,
pub description: String,
pub detected_at: DateTime<Utc>,
pub resolved: bool,
pub winner_id: Option<String>,
}Expand description
A conflict between two patterns.
Fields§
§id: StringUnique identifier
pattern_a_id: StringID of the first pattern
pattern_b_id: StringID of the second pattern
description: StringDescription of the conflict
detected_at: DateTime<Utc>When the conflict was detected
resolved: boolWhether the conflict has been resolved
winner_id: Option<String>ID of the winning pattern (if resolved)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Conflict
impl<'de> Deserialize<'de> for Conflict
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 Conflict
impl RefUnwindSafe for Conflict
impl Send for Conflict
impl Sync for Conflict
impl Unpin for Conflict
impl UnsafeUnpin for Conflict
impl UnwindSafe for Conflict
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