pub enum MongodbJsonSchema {
BsonType(BsonTypedJsonSchema),
Type(TypedJsonSchema),
MultipleBsonType(MultipleBsonTypedJsonSchema),
MultipleType(MultipleTypedJsonSchema),
AllOf(AllOfJsonSchema),
AnyOf(AnyOfJsonSchema),
OneOf(OneOfJsonSchema),
Exists,
}
Variants§
BsonType(BsonTypedJsonSchema)
Type(TypedJsonSchema)
MultipleBsonType(MultipleBsonTypedJsonSchema)
MultipleType(MultipleTypedJsonSchema)
AllOf(AllOfJsonSchema)
AnyOf(AnyOfJsonSchema)
OneOf(OneOfJsonSchema)
Exists
Trait Implementations§
Source§impl Clone for MongodbJsonSchema
impl Clone for MongodbJsonSchema
Source§fn clone(&self) -> MongodbJsonSchema
fn clone(&self) -> MongodbJsonSchema
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 MongodbJsonSchema
impl Debug for MongodbJsonSchema
Source§impl Default for MongodbJsonSchema
impl Default for MongodbJsonSchema
Source§impl<'de> Deserialize<'de> for MongodbJsonSchema
impl<'de> Deserialize<'de> for MongodbJsonSchema
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 From<MongodbJsonSchema> for BsonSchema
impl From<MongodbJsonSchema> for BsonSchema
Source§fn from(value: MongodbJsonSchema) -> Self
fn from(value: MongodbJsonSchema) -> Self
Converts to this type from the input type.
Source§impl From<MongodbJsonSchema> for JsonSchema
impl From<MongodbJsonSchema> for JsonSchema
Source§fn from(value: MongodbJsonSchema) -> Self
fn from(value: MongodbJsonSchema) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MongodbJsonSchema
impl PartialEq for MongodbJsonSchema
Source§impl Serialize for MongodbJsonSchema
impl Serialize for MongodbJsonSchema
impl StructuralPartialEq for MongodbJsonSchema
Auto Trait Implementations§
impl Freeze for MongodbJsonSchema
impl RefUnwindSafe for MongodbJsonSchema
impl Send for MongodbJsonSchema
impl Sync for MongodbJsonSchema
impl Unpin for MongodbJsonSchema
impl UnwindSafe for MongodbJsonSchema
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