Struct json_model::NumericMin
source · pub struct NumericMin { /* private fields */ }
Implementations
sourceimpl NumericMin
impl NumericMin
pub fn new(
is_exclusive: bool,
path: DocumentPath,
ctx: &Context<'_>
) -> Result<Self, Error>
pub fn allowed_types() -> HashSet<AllowedType>
pub fn build_inclusive(
_: &mut State,
path: DocumentPath,
ctx: &Context<'_>
) -> Result<Box<dyn Attribute>, Error>
pub fn build_exclusive(
_: &mut State,
path: DocumentPath,
ctx: &Context<'_>
) -> Result<Box<dyn Attribute>, Error>
Trait Implementations
sourceimpl Attribute for NumericMin
impl Attribute for NumericMin
Auto Trait Implementations
impl RefUnwindSafe for NumericMin
impl Send for NumericMin
impl Sync for NumericMin
impl Unpin for NumericMin
impl UnwindSafe for NumericMin
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more