pub struct MongoDbProgress {Show 13 fields
pub bytes_copied: i64,
pub documents_copied: i64,
pub elapsed_time: String,
pub errors: Value,
pub events_pending: i64,
pub events_replayed: i64,
pub last_event_time: Option<OffsetDateTime>,
pub last_replay_time: Option<OffsetDateTime>,
pub name: Option<String>,
pub qualified_name: Option<String>,
pub state: State,
pub total_bytes: i64,
pub total_documents: i64,
}
Expand description
Base class for MongoDB migration outputs
Fields§
§bytes_copied: i64
The number of document bytes copied during the Copying stage
documents_copied: i64
The number of documents copied during the Copying stage
elapsed_time: String
The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format)
errors: Value
The errors and warnings that have occurred for the current object. The keys are the error codes.
events_pending: i64
The number of oplog events awaiting replay
events_replayed: i64
The number of oplog events replayed so far
last_event_time: Option<OffsetDateTime>
The timestamp of the last oplog event received, or null if no oplog event has been received yet
last_replay_time: Option<OffsetDateTime>
The timestamp of the last oplog event replayed, or null if no oplog event has been replayed yet
name: Option<String>
The name of the progress object. For a collection, this is the unqualified collection name. For a database, this is the database name. For the overall migration, this is null.
qualified_name: Option<String>
The qualified name of the progress object. For a collection, this is the database-qualified name. For a database, this is the database name. For the overall migration, this is null.
state: State
§total_bytes: i64
The total number of document bytes on the source at the beginning of the Copying stage, or -1 if the total size was unknown
total_documents: i64
The total number of documents on the source at the beginning of the Copying stage, or -1 if the total count was unknown
Implementations§
Trait Implementations§
Source§impl Clone for MongoDbProgress
impl Clone for MongoDbProgress
Source§fn clone(&self) -> MongoDbProgress
fn clone(&self) -> MongoDbProgress
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more