pub struct MongodbCollection {
pub collection: Option<String>,
pub fields: Option<Vec<MongodbField>>,
}Expand description
MongoDB Collection.
This type is not used in any activity, and only used as part of another schema.
Fields§
§collection: Option<String>Collection name.
fields: Option<Vec<MongodbField>>Fields in the collection.
Trait Implementations§
Source§impl Clone for MongodbCollection
impl Clone for MongodbCollection
Source§fn clone(&self) -> MongodbCollection
fn clone(&self) -> MongodbCollection
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 MongodbCollection
impl Debug for MongodbCollection
Source§impl Default for MongodbCollection
impl Default for MongodbCollection
Source§fn default() -> MongodbCollection
fn default() -> MongodbCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MongodbCollection
impl<'de> Deserialize<'de> for MongodbCollection
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 Serialize for MongodbCollection
impl Serialize for MongodbCollection
impl Part for MongodbCollection
Auto Trait Implementations§
impl Freeze for MongodbCollection
impl RefUnwindSafe for MongodbCollection
impl Send for MongodbCollection
impl Sync for MongodbCollection
impl Unpin for MongodbCollection
impl UnwindSafe for MongodbCollection
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