Enum psl::builtin_connectors::CockroachType
source · pub enum CockroachType {
Show 22 variants
Bit(Option<u32>),
Bool,
Bytes,
Char(Option<u32>),
Date,
Decimal(Option<(u32, u32)>),
Float4,
Float8,
Inet,
Int2,
Int4,
Int8,
JsonB,
Oid,
CatalogSingleChar,
String(Option<u32>),
Time(Option<u32>),
Timestamp(Option<u32>),
Timestamptz(Option<u32>),
Timetz(Option<u32>),
Uuid,
VarBit(Option<u32>),
}
Variants§
Bit(Option<u32>)
Bool
Bytes
Char(Option<u32>)
Date
Decimal(Option<(u32, u32)>)
Float4
Float8
Inet
Int2
Int4
Int8
JsonB
Oid
CatalogSingleChar
String(Option<u32>)
Time(Option<u32>)
Timestamp(Option<u32>)
Timestamptz(Option<u32>)
Timetz(Option<u32>)
Uuid
VarBit(Option<u32>)
Implementations§
source§impl CockroachType
impl CockroachType
pub fn to_parts(&self) -> (&'static str, Vec<String>)
pub fn from_parts( name: &str, arguments: &[String], span: Span, diagnostics: &mut Diagnostics ) -> Option<CockroachType>
Trait Implementations§
source§impl Clone for CockroachType
impl Clone for CockroachType
source§fn clone(&self) -> CockroachType
fn clone(&self) -> CockroachType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CockroachType
impl Debug for CockroachType
source§impl PartialEq for CockroachType
impl PartialEq for CockroachType
source§fn eq(&self, other: &CockroachType) -> bool
fn eq(&self, other: &CockroachType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CockroachType
impl StructuralPartialEq for CockroachType
Auto Trait Implementations§
impl RefUnwindSafe for CockroachType
impl Send for CockroachType
impl Sync for CockroachType
impl Unpin for CockroachType
impl UnwindSafe for CockroachType
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