pub struct ConflictRecord {
pub canonical_url: String,
pub chosen_id: String,
pub conflicting_ids: Vec<String>,
pub differing_fields: Vec<String>,
}Expand description
A single conflict record. Two bookmarks share canonical_url but
disagree on a field.
Fields§
§canonical_url: StringThe shared canonical URL.
chosen_id: StringThe chosen canonical record (oldest created_at, lowest id).
conflicting_ids: Vec<String>The IDs of the conflicting records (excluding the chosen one).
differing_fields: Vec<String>Field names where the conflicting records disagree with the chosen record.
Trait 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
impl Eq for ConflictRecord
Source§impl PartialEq for ConflictRecord
impl PartialEq for ConflictRecord
Source§impl Serialize for ConflictRecord
impl Serialize for ConflictRecord
impl StructuralPartialEq for ConflictRecord
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