pub struct CoreSchema;Expand description
YAML 1.2 Core schema (default).
Extends JSON with additional null/bool patterns, octal and hex integer literals, and case-variant infinity/NaN literals.
Trait Implementations§
Source§impl Schema for CoreSchema
impl Schema for CoreSchema
Source§fn resolve_scalar(
&self,
value: &str,
tag: Option<&str>,
style: ScalarStyle,
) -> Scalar
fn resolve_scalar( &self, value: &str, tag: Option<&str>, style: ScalarStyle, ) -> Scalar
Resolve a scalar to a typed value. Read more
Source§fn resolve_tag(&self, tag: &str) -> ResolvedTag
fn resolve_tag(&self, tag: &str) -> ResolvedTag
Classify a raw tag string into a
ResolvedTag.Auto Trait Implementations§
impl Freeze for CoreSchema
impl RefUnwindSafe for CoreSchema
impl Send for CoreSchema
impl Sync for CoreSchema
impl Unpin for CoreSchema
impl UnsafeUnpin for CoreSchema
impl UnwindSafe for CoreSchema
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