pub struct ContextConflictV1 {Show 18 fields
pub v: u32,
pub conflict_id: TeamId,
pub scope: TeamScopeV1,
pub left_object_id: TeamId,
pub left_digest: RecordDigest,
pub right_object_id: TeamId,
pub right_digest: RecordDigest,
pub detected_at: TeamTimestampV1,
pub state: ConflictState,
pub resolution_policy: ConflictResolutionPolicy,
pub resolved_by: Option<MemberId>,
pub resolved_at: Option<TeamTimestampV1>,
pub winner: Option<ConflictWinner>,
pub reason_code: Option<ReasonCode>,
pub superseded_by: Option<RecordDigest>,
pub version: u64,
pub parent_digest: Option<RecordDigest>,
pub idempotency_key: IdempotencyKey,
}Fields§
§v: u32§conflict_id: TeamId§scope: TeamScopeV1§left_object_id: TeamId§left_digest: RecordDigest§right_object_id: TeamId§right_digest: RecordDigest§detected_at: TeamTimestampV1§state: ConflictState§resolution_policy: ConflictResolutionPolicy§resolved_by: Option<MemberId>§resolved_at: Option<TeamTimestampV1>§winner: Option<ConflictWinner>§reason_code: Option<ReasonCode>§superseded_by: Option<RecordDigest>§version: u64§parent_digest: Option<RecordDigest>§idempotency_key: IdempotencyKeyImplementations§
Source§impl ContextConflictV1
impl ContextConflictV1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for ContextConflictV1
impl Clone for ContextConflictV1
Source§impl Debug for ContextConflictV1
impl Debug for ContextConflictV1
Source§impl<'de> Deserialize<'de> for ContextConflictV1
impl<'de> Deserialize<'de> for ContextConflictV1
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContextConflictV1
Source§impl PartialEq for ContextConflictV1
impl PartialEq for ContextConflictV1
Source§impl Serialize for ContextConflictV1
impl Serialize for ContextConflictV1
impl StructuralPartialEq for ContextConflictV1
Auto Trait Implementations§
impl Freeze for ContextConflictV1
impl RefUnwindSafe for ContextConflictV1
impl Send for ContextConflictV1
impl Sync for ContextConflictV1
impl Unpin for ContextConflictV1
impl UnsafeUnpin for ContextConflictV1
impl UnwindSafe for ContextConflictV1
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