pub struct SyncItem {
pub id: u64,
pub item_type: ItemType,
pub updated_at: DateTime<Utc>,
pub deleted: Option<bool>,
}Expand description
A synchronized item
Fields§
§id: u64Item ID
item_type: ItemTypeItem type
updated_at: DateTime<Utc>When the item was updated
deleted: Option<bool>Whether the item was deleted
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SyncItem
impl<'de> Deserialize<'de> for SyncItem
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 SyncItem
impl RefUnwindSafe for SyncItem
impl Send for SyncItem
impl Sync for SyncItem
impl Unpin for SyncItem
impl UnwindSafe for SyncItem
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