pub struct OneOfJsonSchema {
pub one_of: Vec<MongodbJsonSchema>,
pub description: Option<String>,
pub title: Option<String>,
}
Fields§
§one_of: Vec<MongodbJsonSchema>
§description: Option<String>
§title: Option<String>
Trait Implementations§
Source§impl Clone for OneOfJsonSchema
impl Clone for OneOfJsonSchema
Source§fn clone(&self) -> OneOfJsonSchema
fn clone(&self) -> OneOfJsonSchema
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 OneOfJsonSchema
impl Debug for OneOfJsonSchema
Source§impl Default for OneOfJsonSchema
impl Default for OneOfJsonSchema
Source§fn default() -> OneOfJsonSchema
fn default() -> OneOfJsonSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OneOfJsonSchema
impl<'de> Deserialize<'de> for OneOfJsonSchema
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 PartialEq for OneOfJsonSchema
impl PartialEq for OneOfJsonSchema
Source§impl Serialize for OneOfJsonSchema
impl Serialize for OneOfJsonSchema
impl StructuralPartialEq for OneOfJsonSchema
Auto Trait Implementations§
impl Freeze for OneOfJsonSchema
impl RefUnwindSafe for OneOfJsonSchema
impl Send for OneOfJsonSchema
impl Sync for OneOfJsonSchema
impl Unpin for OneOfJsonSchema
impl UnwindSafe for OneOfJsonSchema
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