pub struct PgBitsInt(/* private fields */);Trait Implementations§
Source§impl BoundedInteger for PgBitsInt
impl BoundedInteger for PgBitsInt
const MIN: Option<i128>
const MAX: Option<i128>
const DEFAULT: Option<i128>
const TYPE_DESCRIPTION: &'static str = "an integer between 6 and 14"
fn get(&self) -> i128
fn new(value: i128) -> Result<Self, BoundedIntegerError>
fn validate(value: i128) -> Result<(), BoundedIntegerError>
impl Copy for PgBitsInt
Source§impl<'de> Deserialize<'de> for PgBitsInt
impl<'de> Deserialize<'de> for PgBitsInt
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 PartialOrd for PgBitsInt
impl PartialOrd for PgBitsInt
impl StructuralPartialEq for PgBitsInt
Auto Trait Implementations§
impl Freeze for PgBitsInt
impl RefUnwindSafe for PgBitsInt
impl Send for PgBitsInt
impl Sync for PgBitsInt
impl Unpin for PgBitsInt
impl UnsafeUnpin for PgBitsInt
impl UnwindSafe for PgBitsInt
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