pub struct Current { /* private fields */ }
Expand description
Output when current
is called for a document
Implementations§
source§impl Current
impl Current
sourcepub fn sharding(&self) -> &Option<String>
pub fn sharding(&self) -> &Option<String>
The default sharding method for collections created in this database
sourcepub fn replication_factor(&self) -> &Option<String>
pub fn replication_factor(&self) -> &Option<String>
The default replication factor for collections in this database
sourcepub fn write_concern(&self) -> &Option<String>
pub fn write_concern(&self) -> &Option<String>
The default write concern for collections in this database
Trait Implementations§
source§impl<'de> Deserialize<'de> for Current
impl<'de> Deserialize<'de> for Current
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