pub enum SyncResult {
Imported {
filepath: String,
},
Updated {
filepath: String,
},
Deleted {
filepath: String,
},
UpToDate {
filepath: String,
},
NotFound {
filepath: String,
},
Error {
filepath: String,
error: String,
},
}
Expand description
Result of synchronizing a single document
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SyncResult
impl Clone for SyncResult
Source§fn clone(&self) -> SyncResult
fn clone(&self) -> SyncResult
Returns a duplicate of the value. Read more
1.0.0 · 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 SyncResult
impl Debug for SyncResult
Source§impl PartialEq for SyncResult
impl PartialEq for SyncResult
impl StructuralPartialEq for SyncResult
Auto Trait Implementations§
impl Freeze for SyncResult
impl RefUnwindSafe for SyncResult
impl Send for SyncResult
impl Sync for SyncResult
impl Unpin for SyncResult
impl UnwindSafe for SyncResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more