pub struct MongoDbMigrationProgress {
pub mongo_db_progress: MongoDbProgress,
pub databases: Option<Value>,
}
Expand description
Describes the progress of the overall migration
Fields§
§mongo_db_progress: MongoDbProgress
§databases: Option<Value>
The progress of the databases in the migration. The keys are the names of the databases
Implementations§
source§impl MongoDbMigrationProgress
impl MongoDbMigrationProgress
pub fn new(mongo_db_progress: MongoDbProgress) -> Self
Trait Implementations§
source§impl Clone for MongoDbMigrationProgress
impl Clone for MongoDbMigrationProgress
source§fn clone(&self) -> MongoDbMigrationProgress
fn clone(&self) -> MongoDbMigrationProgress
Returns a copy 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 MongoDbMigrationProgress
impl Debug for MongoDbMigrationProgress
source§impl<'de> Deserialize<'de> for MongoDbMigrationProgress
impl<'de> Deserialize<'de> for MongoDbMigrationProgress
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
source§impl PartialEq<MongoDbMigrationProgress> for MongoDbMigrationProgress
impl PartialEq<MongoDbMigrationProgress> for MongoDbMigrationProgress
source§fn eq(&self, other: &MongoDbMigrationProgress) -> bool
fn eq(&self, other: &MongoDbMigrationProgress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MongoDbMigrationProgress
impl Serialize for MongoDbMigrationProgress
impl StructuralPartialEq for MongoDbMigrationProgress
Auto Trait Implementations§
impl RefUnwindSafe for MongoDbMigrationProgress
impl Send for MongoDbMigrationProgress
impl Sync for MongoDbMigrationProgress
impl Unpin for MongoDbMigrationProgress
impl UnwindSafe for MongoDbMigrationProgress
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