Enum psl::builtin_connectors::MongoDbType
source · pub enum MongoDbType {
String,
Double,
BinData,
ObjectId,
Bool,
Date,
Int,
Timestamp,
Long,
Json,
}
Expand description
MongoDB native types. Ignores deprecated and unsupported types for now. Taken from: https://docs.mongodb.com/manual/reference/bson-types/
Variants§
Implementations§
source§impl MongoDbType
impl MongoDbType
pub fn to_parts(&self) -> (&'static str, Vec<String>)
pub fn from_parts( name: &str, arguments: &[String], span: Span, diagnostics: &mut Diagnostics ) -> Option<MongoDbType>
Trait Implementations§
source§impl Clone for MongoDbType
impl Clone for MongoDbType
source§fn clone(&self) -> MongoDbType
fn clone(&self) -> MongoDbType
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 MongoDbType
impl Debug for MongoDbType
source§impl PartialEq for MongoDbType
impl PartialEq for MongoDbType
source§fn eq(&self, other: &MongoDbType) -> bool
fn eq(&self, other: &MongoDbType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MongoDbType
impl StructuralPartialEq for MongoDbType
Auto Trait Implementations§
impl RefUnwindSafe for MongoDbType
impl Send for MongoDbType
impl Sync for MongoDbType
impl Unpin for MongoDbType
impl UnwindSafe for MongoDbType
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