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