pub struct DirectJsonSchema {
pub name: String,
pub schema: Value,
pub strict: bool,
}Fields§
§name: String§schema: Value§strict: boolTrait Implementations§
Source§impl Clone for DirectJsonSchema
impl Clone for DirectJsonSchema
Source§fn clone(&self) -> DirectJsonSchema
fn clone(&self) -> DirectJsonSchema
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DirectJsonSchema
impl Debug for DirectJsonSchema
Source§impl<'de> Deserialize<'de> for DirectJsonSchema
impl<'de> Deserialize<'de> for DirectJsonSchema
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
impl Eq for DirectJsonSchema
Source§impl PartialEq for DirectJsonSchema
impl PartialEq for DirectJsonSchema
Source§fn eq(&self, other: &DirectJsonSchema) -> bool
fn eq(&self, other: &DirectJsonSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DirectJsonSchema
impl Serialize for DirectJsonSchema
impl StructuralPartialEq for DirectJsonSchema
Auto Trait Implementations§
impl Freeze for DirectJsonSchema
impl RefUnwindSafe for DirectJsonSchema
impl Send for DirectJsonSchema
impl Sync for DirectJsonSchema
impl Unpin for DirectJsonSchema
impl UnsafeUnpin for DirectJsonSchema
impl UnwindSafe for DirectJsonSchema
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