pub struct SyncOperationRow {Show 20 fields
pub id: Uuid,
pub run_id: String,
pub status: String,
pub progress_percentage: u32,
pub dataset_ids: Vec<Uuid>,
pub dataset_names: Vec<String>,
pub user_id: Uuid,
pub created_at: DateTime<Utc>,
pub started_at: Option<DateTime<Utc>>,
pub completed_at: Option<DateTime<Utc>>,
pub total_records_to_sync: Option<i32>,
pub total_records_to_download: Option<i32>,
pub total_records_to_upload: Option<i32>,
pub records_downloaded: i32,
pub records_uploaded: i32,
pub bytes_downloaded: i64,
pub bytes_uploaded: i64,
pub dataset_sync_hashes: Option<Value>,
pub error_message: Option<String>,
pub retry_count: i32,
}Expand description
Snapshot of one sync_operations row (every column).
Fields§
§id: Uuid§run_id: String§status: String§progress_percentage: u32§dataset_ids: Vec<Uuid>§dataset_names: Vec<String>§user_id: Uuid§created_at: DateTime<Utc>§started_at: Option<DateTime<Utc>>§completed_at: Option<DateTime<Utc>>§total_records_to_sync: Option<i32>§total_records_to_download: Option<i32>§total_records_to_upload: Option<i32>§records_downloaded: i32§records_uploaded: i32§bytes_downloaded: i64§bytes_uploaded: i64§dataset_sync_hashes: Option<Value>§error_message: Option<String>§retry_count: i32Trait Implementations§
Source§impl Clone for SyncOperationRow
impl Clone for SyncOperationRow
Source§fn clone(&self) -> SyncOperationRow
fn clone(&self) -> SyncOperationRow
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 moreAuto Trait Implementations§
impl Freeze for SyncOperationRow
impl RefUnwindSafe for SyncOperationRow
impl Send for SyncOperationRow
impl Sync for SyncOperationRow
impl Unpin for SyncOperationRow
impl UnsafeUnpin for SyncOperationRow
impl UnwindSafe for SyncOperationRow
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