pub struct DecimalString;Available on crate feature
schemars only.Expand description
JSON schema for a request decimal: a string of digits with an optional
fraction, the only spelling exact_decimal guarantees is exact.
Trait Implementations§
Source§impl Debug for DecimalString
impl Debug for DecimalString
Source§impl JsonSchema for DecimalString
impl JsonSchema for DecimalString
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Auto Trait Implementations§
impl Freeze for DecimalString
impl RefUnwindSafe for DecimalString
impl Send for DecimalString
impl Sync for DecimalString
impl Unpin for DecimalString
impl UnsafeUnpin for DecimalString
impl UnwindSafe for DecimalString
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