pub struct SchemaOptions {
pub version: SchemaVersion,
}Expand description
Knobs for Schema::compile_str_with_options
/ Schema::compile_with_options.
Today the only knob is version; more options
(strictness toggles for libxml2-compat, optional warning callbacks,
etc.) will land on this struct so we don’t break the API every
time we add a flag.
Fields§
§version: SchemaVersionTrait 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§fn default() -> SchemaOptions
fn default() -> SchemaOptions
Returns the “default value” for a type. Read more
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