pub struct MongoDbDatabaseSettings {
pub collections: Value,
pub target_r_us: Option<i32>,
}
Expand description
Describes how an individual MongoDB database should be migrated
Fields§
§collections: Value
The collections on the source database to migrate to the target. The keys are the unqualified names of the collections.
target_r_us: Option<i32>
The RUs that should be configured on a CosmosDB target, or null to use the default, or 0 if throughput should not be provisioned for the database. This has no effect on non-CosmosDB targets.
Implementations§
Trait Implementations§
Source§impl Clone for MongoDbDatabaseSettings
impl Clone for MongoDbDatabaseSettings
Source§fn clone(&self) -> MongoDbDatabaseSettings
fn clone(&self) -> MongoDbDatabaseSettings
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 MongoDbDatabaseSettings
impl Debug for MongoDbDatabaseSettings
Source§impl<'de> Deserialize<'de> for MongoDbDatabaseSettings
impl<'de> Deserialize<'de> for MongoDbDatabaseSettings
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 for MongoDbDatabaseSettings
impl PartialEq for MongoDbDatabaseSettings
Source§impl Serialize for MongoDbDatabaseSettings
impl Serialize for MongoDbDatabaseSettings
impl StructuralPartialEq for MongoDbDatabaseSettings
Auto Trait Implementations§
impl Freeze for MongoDbDatabaseSettings
impl RefUnwindSafe for MongoDbDatabaseSettings
impl Send for MongoDbDatabaseSettings
impl Sync for MongoDbDatabaseSettings
impl Unpin for MongoDbDatabaseSettings
impl UnwindSafe for MongoDbDatabaseSettings
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