pub struct ParsedFloatSchema {
pub range: Option<String>,
pub multiple_of: Option<f64>,
pub precision: Option<String>,
}Expand description
Parsed float schema - syntactic representation with range as string.
Fields§
§range: Option<String>Range constraint as string
multiple_of: Option<f64>Multiple-of constraint
precision: Option<String>Precision constraint (“f32” or “f64”)
Trait Implementations§
Source§impl Clone for ParsedFloatSchema
impl Clone for ParsedFloatSchema
Source§fn clone(&self) -> ParsedFloatSchema
fn clone(&self) -> ParsedFloatSchema
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 ParsedFloatSchema
impl Debug for ParsedFloatSchema
Source§impl<'doc> FromEure<'doc> for ParsedFloatSchema
impl<'doc> FromEure<'doc> for ParsedFloatSchema
Source§type Error = ParseError
type Error = ParseError
The error type returned by parsing.
Auto Trait Implementations§
impl Freeze for ParsedFloatSchema
impl RefUnwindSafe for ParsedFloatSchema
impl Send for ParsedFloatSchema
impl Sync for ParsedFloatSchema
impl Unpin for ParsedFloatSchema
impl UnwindSafe for ParsedFloatSchema
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