ColumnsField

Enum ColumnsField 

pub enum ColumnsField {
Show 36 variants TableCatalog, TableSchema, TableName, ColumnName, OrdinalPosition, ColumnDefault, IsNullable, DataType, CharacterMaximumLength, CharacterOctetLength, NumericPrecision, NumericPrecisionRadix, NumericScale, DatetimePrecision, IntervalType, IntervalPrecision, CollationCatalog, CollationSchema, CollationName, DomainCatalog, DomainSchema, DomainName, UdtCatalog, UdtSchema, UdtName, DtdIdentifier, IsIdentity, IdentityGeneration, IdentityStart, IdentityIncrement, IdentityMaximum, IdentityMinimum, IdentityCycle, IsGenerated, GenerationExpression, IsUpdatable,
}
Expand description

Ref: https://www.postgresql.org/docs/13/infoschema-columns.html

Variants§

§

TableCatalog

§

TableSchema

§

TableName

§

ColumnName

§

OrdinalPosition

§

ColumnDefault

§

IsNullable

§

DataType

§

CharacterMaximumLength

§

CharacterOctetLength

§

NumericPrecision

§

NumericPrecisionRadix

§

NumericScale

§

DatetimePrecision

§

IntervalType

§

IntervalPrecision

§

CollationCatalog

§

CollationSchema

§

CollationName

§

DomainCatalog

§

DomainSchema

§

DomainName

§

UdtCatalog

§

UdtSchema

§

UdtName

§

DtdIdentifier

§

IsIdentity

§

IdentityGeneration

§

IdentityStart

§

IdentityIncrement

§

IdentityMaximum

§

IdentityMinimum

§

IdentityCycle

§

IsGenerated

§

GenerationExpression

§

IsUpdatable

Trait Implementations§

§

impl Debug for ColumnsField

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Iden for ColumnsField

§

fn quoted(&self) -> Cow<'static, str>

Return the to-be sanitized version of the identifier. Read more
§

fn unquoted(&self) -> &str

Write a raw identifier string without quotes. Read more
Source§

fn to_string(&self) -> String

A shortcut for writing an unquoted identifier into a String. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<I> IdenList for I
where I: IntoIden,

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoColumnRef for T
where T: Into<ColumnRef>,

Source§

impl<T> IntoIden for T
where T: Into<DynIden>,

Source§

impl<T> IntoIndexColumn for T
where T: Into<IndexColumn>,

Source§

impl<T> IntoTableRef for T
where T: Into<TableRef>,

Source§

impl<T> IntoTypeRef for T
where T: Into<TypeRef>,

Source§

impl<T> MaybeQualifiedOnce for T
where T: IntoIden,

Source§

fn into_2_parts(self) -> (Option<DynIden>, DynIden)

Represent a maybe-qualified name as a (foo?, bar) tuple.
Source§

impl<T> MaybeQualifiedTwice for T

Source§

fn into_3_parts(self) -> (Option<(Option<DynIden>, DynIden)>, DynIden)

Represent a maybe-qualified name as a (foo?, bar?, baz) tuple. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.