pub struct Oid(pub i32);Tuple Fields§
§0: i32Trait Implementations§
impl Copy for Oid
Source§impl DomainType for Oid
impl DomainType for Oid
impl Eq for Oid
Source§impl<'a> FromSqlBase<'a> for Oid
impl<'a> FromSqlBase<'a> for Oid
fn accepts(field: &FieldDescription) -> bool
fn accepts_postgres_type(oid: i32) -> bool
Source§fn accepts_with_registry(
field: &FieldDescription,
_registry: &EnumTypeRegistry,
) -> bool
fn accepts_with_registry( field: &FieldDescription, _registry: &EnumTypeRegistry, ) -> bool
Extended accepts check with access to the enum type registry.
Override for enum types and collections of enums.
Default delegates to the static
accepts check.fn from_null(field: &FieldDescription) -> Result<Self, ElefantClientError>
Source§impl<'a> FromSqlBinary<'a> for Oid
impl<'a> FromSqlBinary<'a> for Oid
fn from_sql_binary( raw: &'a [u8], field: &FieldDescription, ) -> Result<Self, Box<dyn Error + Sync + Send>>
Source§impl<'a> FromSqlText<'a> for Oid
impl<'a> FromSqlText<'a> for Oid
fn from_sql_text( raw: &'a str, field: &FieldDescription, ) -> Result<Self, Box<dyn Error + Sync + Send>>
Source§impl Ord for Oid
impl Ord for Oid
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Oid
impl PartialOrd for Oid
impl StructuralPartialEq for Oid
Auto Trait Implementations§
impl Freeze for Oid
impl RefUnwindSafe for Oid
impl Send for Oid
impl Sync for Oid
impl Unpin for Oid
impl UnsafeUnpin for Oid
impl UnwindSafe for Oid
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