pub struct IntegerSchema {
pub bounds: NumericBounds,
}Expand description
An integer schema
Fields§
§bounds: NumericBoundsTrait Implementations§
Source§impl Debug for IntegerSchema
impl Debug for IntegerSchema
Source§impl Default for IntegerSchema
impl Default for IntegerSchema
Source§fn default() -> IntegerSchema
fn default() -> IntegerSchema
Returns the “default value” for a type. Read more
Source§impl Display for IntegerSchema
impl Display for IntegerSchema
Source§impl From<IntegerSchema> for YamlSchema
impl From<IntegerSchema> for YamlSchema
Source§fn from(integer_schema: IntegerSchema) -> Self
fn from(integer_schema: IntegerSchema) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IntegerSchema
impl PartialEq for IntegerSchema
impl StructuralPartialEq for IntegerSchema
Source§impl TryFrom<&LinkedHashMap<MarkedYaml<'_>, MarkedYaml<'_>>> for IntegerSchema
impl TryFrom<&LinkedHashMap<MarkedYaml<'_>, MarkedYaml<'_>>> for IntegerSchema
Source§fn try_from(mapping: &AnnotatedMapping<'_, MarkedYaml<'_>>) -> Result<Self>
fn try_from(mapping: &AnnotatedMapping<'_, MarkedYaml<'_>>) -> Result<Self>
Performs the conversion.
Source§impl TryFrom<&MarkedYaml<'_>> for IntegerSchema
impl TryFrom<&MarkedYaml<'_>> for IntegerSchema
Source§fn try_from(value: &MarkedYaml<'_>) -> Result<IntegerSchema>
fn try_from(value: &MarkedYaml<'_>) -> Result<IntegerSchema>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for IntegerSchema
impl RefUnwindSafe for IntegerSchema
impl Send for IntegerSchema
impl Sync for IntegerSchema
impl Unpin for IntegerSchema
impl UnsafeUnpin for IntegerSchema
impl UnwindSafe for IntegerSchema
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.