pub struct DecimalParamInfo {
pub precision: u8,
pub scale: u8,
}Expand description
Explicit precision and scale for a decimal/numeric parameter (see
numeric).
Fields§
§precision: u8Total number of significant digits (1–38).
scale: u8Number of digits to the right of the decimal point.
Trait Implementations§
Source§impl Clone for DecimalParamInfo
impl Clone for DecimalParamInfo
Source§fn clone(&self) -> DecimalParamInfo
fn clone(&self) -> DecimalParamInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DecimalParamInfo
Auto Trait Implementations§
impl Freeze for DecimalParamInfo
impl RefUnwindSafe for DecimalParamInfo
impl Send for DecimalParamInfo
impl Sync for DecimalParamInfo
impl Unpin for DecimalParamInfo
impl UnsafeUnpin for DecimalParamInfo
impl UnwindSafe for DecimalParamInfo
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