pub struct SchemaOptions {
pub sample_size: Option<usize>,
}Expand description
Options for schema reflection.
Fields§
§sample_size: Option<usize>Number of objects to sample for type inference (default 50).
Trait Implementations§
Source§impl Clone for SchemaOptions
impl Clone for SchemaOptions
Source§fn clone(&self) -> SchemaOptions
fn clone(&self) -> SchemaOptions
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 SchemaOptions
impl Debug for SchemaOptions
Source§impl Default for SchemaOptions
impl Default for SchemaOptions
Source§impl<'de> Deserialize<'de> for SchemaOptions
impl<'de> Deserialize<'de> for SchemaOptions
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 SchemaOptions
Source§impl PartialEq for SchemaOptions
impl PartialEq for SchemaOptions
Source§impl Serialize for SchemaOptions
impl Serialize for SchemaOptions
impl StructuralPartialEq for SchemaOptions
Auto Trait Implementations§
impl Freeze for SchemaOptions
impl RefUnwindSafe for SchemaOptions
impl Send for SchemaOptions
impl Sync for SchemaOptions
impl Unpin for SchemaOptions
impl UnsafeUnpin for SchemaOptions
impl UnwindSafe for SchemaOptions
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