pub struct ConflictEvent {
pub node_id: String,
pub local_hash: String,
pub remote_hash: String,
pub remote_agent: String,
pub resolution: String,
pub timestamp_ms: i64,
}Expand description
A conflict detected during sync (two agents edited the same node).
Fields§
§node_id: String§local_hash: String§remote_hash: String§remote_agent: String§resolution: String§timestamp_ms: i64Trait Implementations§
Source§impl Clone for ConflictEvent
impl Clone for ConflictEvent
Source§fn clone(&self) -> ConflictEvent
fn clone(&self) -> ConflictEvent
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 ConflictEvent
impl Debug for ConflictEvent
Source§impl<'de> Deserialize<'de> for ConflictEvent
impl<'de> Deserialize<'de> for ConflictEvent
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 ConflictEvent
impl RefUnwindSafe for ConflictEvent
impl Send for ConflictEvent
impl Sync for ConflictEvent
impl Unpin for ConflictEvent
impl UnsafeUnpin for ConflictEvent
impl UnwindSafe for ConflictEvent
Blanket Implementations§
impl<T> Allocation for T
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