Struct NumericAttr
pub struct NumericAttr {
pub precision: Option<u32>,
pub scale: Option<u32>,
}Fields§
§precision: Option<u32>The maximum total number of decimal digits to be stored.
scale: Option<u32>The number of decimal digits that are stored to the right of the decimal point. This number is subtracted from p to determine the maximum number of digits to the left of the decimal point.
Trait Implementations§
§impl Clone for NumericAttr
impl Clone for NumericAttr
§fn clone(&self) -> NumericAttr
fn clone(&self) -> NumericAttr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for NumericAttr
impl Debug for NumericAttr
§impl Default for NumericAttr
impl Default for NumericAttr
§fn default() -> NumericAttr
fn default() -> NumericAttr
Returns the “default value” for a type. Read more
§impl PartialEq for NumericAttr
impl PartialEq for NumericAttr
impl StructuralPartialEq for NumericAttr
Auto Trait Implementations§
impl Freeze for NumericAttr
impl RefUnwindSafe for NumericAttr
impl Send for NumericAttr
impl Sync for NumericAttr
impl Unpin for NumericAttr
impl UnwindSafe for NumericAttr
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