pub struct ObjectSchema { /* private fields */ }
Expand description
The object schema to describe structured data (further information on the module’s documentation).
The position of a property within an object schema defines the order in which the properties are written to bytes. Property position do not have to be continuous but must be distinct. Except for bitfields in which case the same position signals that bitfields share the same bytes.
An instance of this type is guaranteed to be valid.
Trait Implementations§
Source§impl Clone for ObjectSchema
impl Clone for ObjectSchema
Source§fn clone(&self) -> ObjectSchema
fn clone(&self) -> ObjectSchema
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 ObjectSchema
impl Debug for ObjectSchema
Source§impl Decoder for ObjectSchema
impl Decoder for ObjectSchema
Source§impl<'de> Deserialize<'de> for ObjectSchema
impl<'de> Deserialize<'de> for ObjectSchema
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 Encoder for ObjectSchema
impl Encoder for ObjectSchema
Source§impl From<ObjectSchema> for InnerSchema
impl From<ObjectSchema> for InnerSchema
Source§fn from(v: ObjectSchema) -> Self
fn from(v: ObjectSchema) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ObjectSchema
impl RefUnwindSafe for ObjectSchema
impl Send for ObjectSchema
impl Sync for ObjectSchema
impl Unpin for ObjectSchema
impl UnwindSafe for ObjectSchema
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