pub struct QuantityNumber;Available on crate feature
schemars only.Expand description
JSON schema for an order quantity: Schwab’s wire form is a JSON number
(exact_decimal::serialize_number), and a decimal string reads the same.
Trait Implementations§
Source§impl Debug for QuantityNumber
impl Debug for QuantityNumber
Source§impl JsonSchema for QuantityNumber
impl JsonSchema for QuantityNumber
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 QuantityNumber
impl RefUnwindSafe for QuantityNumber
impl Send for QuantityNumber
impl Sync for QuantityNumber
impl Unpin for QuantityNumber
impl UnsafeUnpin for QuantityNumber
impl UnwindSafe for QuantityNumber
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