pub struct ConflictRecord {
pub path: String,
pub foreign_etag: String,
pub preserved_key: Option<String>,
pub kind: String,
pub at_unix: u64,
}Expand description
One surfaced conflict: both versions stay recoverable (local bytes in
the tree, foreign bytes preserved at preserved_key or still current
under the data key). Never a silent winner.
Fields§
§path: String§foreign_etag: String§preserved_key: Option<String>Where the foreign bytes were preserved (server-side copy), when the local version is about to overwrite them.
kind: String§at_unix: u64Trait Implementations§
Source§impl Clone for ConflictRecord
impl Clone for ConflictRecord
Source§fn clone(&self) -> ConflictRecord
fn clone(&self) -> ConflictRecord
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 ConflictRecord
impl Debug for ConflictRecord
Source§impl<'de> Deserialize<'de> for ConflictRecord
impl<'de> Deserialize<'de> for ConflictRecord
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 ConflictRecord
impl RefUnwindSafe for ConflictRecord
impl Send for ConflictRecord
impl Sync for ConflictRecord
impl Unpin for ConflictRecord
impl UnsafeUnpin for ConflictRecord
impl UnwindSafe for ConflictRecord
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