[][src]Struct quaint::ast::Table

pub struct Table<'a> {
    pub typ: TableType<'a>,
    pub alias: Option<Cow<'a, str>>,
    pub database: Option<Cow<'a, str>>,
}

A table definition

Fields

typ: TableType<'a>alias: Option<Cow<'a, str>>database: Option<Cow<'a, str>>

Methods

impl<'a> Table<'a>[src]

pub fn database<T>(self, database: T) -> Self where
    T: Into<Cow<'a, str>>, 
[src]

Define in which database the table is located

pub fn asterisk(self) -> DatabaseValue<'a>[src]

A qualified asterisk to this table

Trait Implementations

impl<'a> Aliasable<'a> for Table<'a>[src]

impl<'a> Clone for Table<'a>[src]

impl<'a> Debug for Table<'a>[src]

impl<'a> From<&'a str> for Table<'a>[src]

impl<'a> From<(&'a str, &'a str)> for Table<'a>[src]

impl<'a> From<(String, String)> for Table<'a>[src]

impl<'a> From<Select<'a>> for Table<'a>[src]

impl<'a> From<String> for Table<'a>[src]

impl<'a> PartialEq<Table<'a>> for Table<'a>[src]

impl<'a> StructuralPartialEq for Table<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Table<'a>

impl<'a> Send for Table<'a>

impl<'a> Sync for Table<'a>

impl<'a> Unpin for Table<'a>

impl<'a> UnwindSafe for Table<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,