#[non_exhaustive]pub struct MongodbField {
pub field: String,
/* private fields */
}
Expand description
MongoDB Field.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.field: String
Field name.
Implementations§
Trait Implementations§
Source§impl Clone for MongodbField
impl Clone for MongodbField
Source§fn clone(&self) -> MongodbField
fn clone(&self) -> MongodbField
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 MongodbField
impl Debug for MongodbField
Source§impl Default for MongodbField
impl Default for MongodbField
Source§fn default() -> MongodbField
fn default() -> MongodbField
Returns the “default value” for a type. Read more
Source§impl Message for MongodbField
impl Message for MongodbField
Source§impl PartialEq for MongodbField
impl PartialEq for MongodbField
impl StructuralPartialEq for MongodbField
Auto Trait Implementations§
impl Freeze for MongodbField
impl RefUnwindSafe for MongodbField
impl Send for MongodbField
impl Sync for MongodbField
impl Unpin for MongodbField
impl UnwindSafe for MongodbField
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