pub enum ObjectTypeKind {
Composite,
Enum,
Domain,
Range,
}Variants§
Composite
Row-shaped composite type — pg_type.typtype = 'c'.
Enum
Enum — typtype = 'e'.
Domain
Domain (constrained alias of a base type) — typtype = 'd'.
Range
Range type — typtype = 'r' (or 'm' for multirange in 14+).
Trait Implementations§
Source§impl Clone for ObjectTypeKind
impl Clone for ObjectTypeKind
Source§fn clone(&self) -> ObjectTypeKind
fn clone(&self) -> ObjectTypeKind
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 ObjectTypeKind
Source§impl Debug for ObjectTypeKind
impl Debug for ObjectTypeKind
Source§impl<'de> Deserialize<'de> for ObjectTypeKind
impl<'de> Deserialize<'de> for ObjectTypeKind
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
impl Eq for ObjectTypeKind
Source§impl PartialEq for ObjectTypeKind
impl PartialEq for ObjectTypeKind
Source§fn eq(&self, other: &ObjectTypeKind) -> bool
fn eq(&self, other: &ObjectTypeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ObjectTypeKind
impl Serialize for ObjectTypeKind
impl StructuralPartialEq for ObjectTypeKind
Auto Trait Implementations§
impl Freeze for ObjectTypeKind
impl RefUnwindSafe for ObjectTypeKind
impl Send for ObjectTypeKind
impl Sync for ObjectTypeKind
impl Unpin for ObjectTypeKind
impl UnsafeUnpin for ObjectTypeKind
impl UnwindSafe for ObjectTypeKind
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