pub struct DecimalBounds {
pub bounds: [String; 2],
pub scale: u32,
}Fields§
§bounds: [String; 2]§scale: u32Trait Implementations§
Source§impl Clone for DecimalBounds
impl Clone for DecimalBounds
Source§impl Debug for DecimalBounds
impl Debug for DecimalBounds
Source§impl<'de> Deserialize<'de> for DecimalBounds
impl<'de> Deserialize<'de> for DecimalBounds
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DecimalBounds
Source§impl JsonSchema for DecimalBounds
impl JsonSchema for DecimalBounds
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
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§impl PartialEq for DecimalBounds
impl PartialEq for DecimalBounds
Source§impl Serialize for DecimalBounds
impl Serialize for DecimalBounds
impl StructuralPartialEq for DecimalBounds
Auto Trait Implementations§
impl Freeze for DecimalBounds
impl RefUnwindSafe for DecimalBounds
impl Send for DecimalBounds
impl Sync for DecimalBounds
impl Unpin for DecimalBounds
impl UnsafeUnpin for DecimalBounds
impl UnwindSafe for DecimalBounds
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