pub struct Numeric { /* private fields */ }Expand description
A decimal/numeric parameter with explicit precision and scale.
A plain rust_decimal::Decimal carries scale but not precision, so it
cannot be matched against an Always Encrypted decimal column, whose
declared decimal(precision, scale) must match the column exactly.
Construct one with numeric.
Trait Implementations§
impl Copy for Numeric
Source§impl ToSql for Numeric
Available on crate feature decimal only.
impl ToSql for Numeric
Available on crate feature
decimal only.Source§fn encrypted_param_type(&self) -> Option<EncryptedParamType>
fn encrypted_param_type(&self) -> Option<EncryptedParamType>
The explicit SQL type a parameter must be declared and encrypted as,
when the value alone cannot convey it. Read more
Auto Trait Implementations§
impl Freeze for Numeric
impl RefUnwindSafe for Numeric
impl Send for Numeric
impl Sync for Numeric
impl Unpin for Numeric
impl UnsafeUnpin for Numeric
impl UnwindSafe for Numeric
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