pub struct PlpgsqlType {Show 14 fields
pub oid: u32,
pub namespace_oid: u32,
pub name: String,
pub length: i16,
pub by_value: bool,
pub type_kind: u8,
pub category: u8,
pub alignment: u8,
pub storage: u8,
pub array_oid: u32,
pub element_oid: u32,
pub base_type_oid: u32,
pub collation_oid: u32,
pub subscript_handler_oid: u32,
}Expand description
The pg_type attributes needed to distinguish scalar, domain, array, and composite declarations.
Fields§
§oid: u32§namespace_oid: u32§name: String§length: i16§by_value: bool§type_kind: u8§category: u8§alignment: u8§storage: u8§array_oid: u32§element_oid: u32§base_type_oid: u32§collation_oid: u32§subscript_handler_oid: u32Trait Implementations§
Source§impl Clone for PlpgsqlType
impl Clone for PlpgsqlType
Source§fn clone(&self) -> PlpgsqlType
fn clone(&self) -> PlpgsqlType
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 moreAuto Trait Implementations§
impl Freeze for PlpgsqlType
impl RefUnwindSafe for PlpgsqlType
impl Send for PlpgsqlType
impl Sync for PlpgsqlType
impl Unpin for PlpgsqlType
impl UnsafeUnpin for PlpgsqlType
impl UnwindSafe for PlpgsqlType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more