Struct databend_sql::schema::DecimalSize
source · pub struct DecimalSize {
pub precision: u8,
pub scale: u8,
}
Fields§
§precision: u8
§scale: u8
Trait Implementations§
source§impl Clone for DecimalSize
impl Clone for DecimalSize
source§fn clone(&self) -> DecimalSize
fn clone(&self) -> DecimalSize
Returns a copy 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 moresource§impl Debug for DecimalSize
impl Debug for DecimalSize
source§impl PartialEq for DecimalSize
impl PartialEq for DecimalSize
source§fn eq(&self, other: &DecimalSize) -> bool
fn eq(&self, other: &DecimalSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DecimalSize
impl Eq for DecimalSize
impl StructuralPartialEq for DecimalSize
Auto Trait Implementations§
impl RefUnwindSafe for DecimalSize
impl Send for DecimalSize
impl Sync for DecimalSize
impl Unpin for DecimalSize
impl UnwindSafe for DecimalSize
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.