pub struct VersionConflict {
pub conflict_id: String,
pub document_id: String,
pub conflicting_versions: Vec<String>,
pub detected_at: DateTime<Utc>,
pub conflict_type: ConflictType,
pub resolution_status: ResolutionStatus,
pub auto_resolution: Option<VersionResolution>,
pub manual_resolution: Option<VersionResolution>,
pub context: HashMap<String, Value>,
}Expand description
Version conflict information
Fields§
§conflict_id: StringConflict identifier
document_id: StringDocument ID where conflict occurred
conflicting_versions: Vec<String>Conflicting versions
detected_at: DateTime<Utc>Conflict detection timestamp
conflict_type: ConflictTypeType of conflict
resolution_status: ResolutionStatusConflict resolution status
auto_resolution: Option<VersionResolution>Automatic resolution applied
manual_resolution: Option<VersionResolution>Manual resolution if needed
context: HashMap<String, Value>Conflict context
Trait Implementations§
Source§impl Clone for VersionConflict
impl Clone for VersionConflict
Source§fn clone(&self) -> VersionConflict
fn clone(&self) -> VersionConflict
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 VersionConflict
impl Debug for VersionConflict
Source§impl<'de> Deserialize<'de> for VersionConflict
impl<'de> Deserialize<'de> for VersionConflict
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 VersionConflict
impl RefUnwindSafe for VersionConflict
impl Send for VersionConflict
impl Sync for VersionConflict
impl Unpin for VersionConflict
impl UnwindSafe for VersionConflict
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