pub struct Conflict {
pub operation_id: OperationId,
pub entity: EntityRef,
pub client_base: Option<EntityVersion>,
pub server_version: Option<EntityVersion>,
pub policy: ConflictPolicy,
pub message: String,
}Expand description
A stale-base conflict surfaced to the client.
Fields§
§operation_id: OperationIdOperation that encountered the conflict.
entity: EntityRefEntity whose version diverged.
client_base: Option<EntityVersion>Version from which the client edited.
server_version: Option<EntityVersion>Current authoritative version, if the entity exists.
policy: ConflictPolicyPolicy applied by the server.
message: StringNon-sensitive application explanation.
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
impl Eq for Conflict
impl StructuralPartialEq for Conflict
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