pub struct ConflictAnnotation {
pub state: ConflictReviewState,
pub conflicting_record_ids: Vec<String>,
pub drift_score: f32,
pub resolution: ConflictResolutionKind,
pub resolved_by: Option<String>,
pub resolved_at_unix_ms: Option<u64>,
pub note: Option<String>,
}Fields§
§state: ConflictReviewState§conflicting_record_ids: Vec<String>§drift_score: f32§resolution: ConflictResolutionKind§resolved_by: Option<String>§resolved_at_unix_ms: Option<u64>§note: Option<String>Implementations§
Source§impl ConflictAnnotation
impl ConflictAnnotation
pub fn validate_for_record(&self, record_id: &str) -> Result<()>
Trait Implementations§
Source§impl Clone for ConflictAnnotation
impl Clone for ConflictAnnotation
Source§fn clone(&self) -> ConflictAnnotation
fn clone(&self) -> ConflictAnnotation
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 ConflictAnnotation
impl Debug for ConflictAnnotation
Source§impl Default for ConflictAnnotation
impl Default for ConflictAnnotation
Source§impl<'de> Deserialize<'de> for ConflictAnnotation
impl<'de> Deserialize<'de> for ConflictAnnotation
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 ConflictAnnotation
impl PartialEq for ConflictAnnotation
Source§fn eq(&self, other: &ConflictAnnotation) -> bool
fn eq(&self, other: &ConflictAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConflictAnnotation
impl Serialize for ConflictAnnotation
impl StructuralPartialEq for ConflictAnnotation
Auto Trait Implementations§
impl Freeze for ConflictAnnotation
impl RefUnwindSafe for ConflictAnnotation
impl Send for ConflictAnnotation
impl Sync for ConflictAnnotation
impl Unpin for ConflictAnnotation
impl UnsafeUnpin for ConflictAnnotation
impl UnwindSafe for ConflictAnnotation
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