pub struct SyncResult {
pub id: String,
pub status: String,
pub message: Option<String>,
pub started_at: Option<DateTime<Utc>>,
pub completed_at: Option<DateTime<Utc>>,
}
Expand description
Database sync result
Fields§
§id: String
Sync task ID
status: String
Sync status
message: Option<String>
Status message
started_at: Option<DateTime<Utc>>
When the sync started
completed_at: Option<DateTime<Utc>>
When the sync completed
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<'de> Deserialize<'de> for SyncResult
impl<'de> Deserialize<'de> for SyncResult
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 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