autofill::sync

Trait SyncRecord

source
pub trait SyncRecord {
    // Required methods
    fn record_name() -> &'static str;
    fn id(&self) -> &Guid;
    fn metadata(&self) -> &Metadata;
    fn metadata_mut(&mut self) -> &mut Metadata;
    fn merge(
        incoming: &Self,
        local: &Self,
        mirror: &Option<Self>,
    ) -> MergeResult<Self>
       where Self: Sized;
}

Required Methods§

source

fn record_name() -> &'static str

source

fn id(&self) -> &Guid

source

fn metadata(&self) -> &Metadata

source

fn metadata_mut(&mut self) -> &mut Metadata

source

fn merge( incoming: &Self, local: &Self, mirror: &Option<Self>, ) -> MergeResult<Self>
where Self: Sized,

Object Safety§

This trait is not object safe.

Implementors§