pub struct PgNumMinInt(/* private fields */);Trait Implementations§
Source§impl BoundedInteger for PgNumMinInt
impl BoundedInteger for PgNumMinInt
const MIN: Option<i128>
const MAX: Option<i128>
const DEFAULT: Option<i128>
const TYPE_DESCRIPTION: &'static str = "an integer less than or equal to 32768"
fn get(&self) -> i128
fn new(value: i128) -> Result<Self, BoundedIntegerError>
fn validate(value: i128) -> Result<(), BoundedIntegerError>
Source§impl Clone for PgNumMinInt
impl Clone for PgNumMinInt
Source§fn clone(&self) -> PgNumMinInt
fn clone(&self) -> PgNumMinInt
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 PgNumMinInt
Source§impl Debug for PgNumMinInt
impl Debug for PgNumMinInt
Source§impl<'de> Deserialize<'de> for PgNumMinInt
impl<'de> Deserialize<'de> for PgNumMinInt
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PgNumMinInt
impl PartialEq for PgNumMinInt
Source§fn eq(&self, other: &PgNumMinInt) -> bool
fn eq(&self, other: &PgNumMinInt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PgNumMinInt
impl PartialOrd for PgNumMinInt
Source§impl Serialize for PgNumMinInt
impl Serialize for PgNumMinInt
impl StructuralPartialEq for PgNumMinInt
Auto Trait Implementations§
impl Freeze for PgNumMinInt
impl RefUnwindSafe for PgNumMinInt
impl Send for PgNumMinInt
impl Sync for PgNumMinInt
impl Unpin for PgNumMinInt
impl UnsafeUnpin for PgNumMinInt
impl UnwindSafe for PgNumMinInt
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