pub struct Table<'i>(pub Object<'i>);Expand description
Represents database table name.
Tuple Fields§
§0: Object<'i>Implementations§
Source§impl<'i> Table<'i>
impl<'i> Table<'i>
Sourcepub fn with_schema(self, schema: impl Into<Schema<'i>>) -> SchemaTable<'i>
pub fn with_schema(self, schema: impl Into<Schema<'i>>) -> SchemaTable<'i>
Constructs SchemaTable from this table and given schema.
Sourcepub fn with_postfix(&self, postfix: &'i str) -> ObjectConcatDisplay<'i>
pub fn with_postfix(&self, postfix: &'i str) -> ObjectConcatDisplay<'i>
Returns object implementing Display to format this table name with given postfix.
Sourcepub fn with_postfix_sep(
&self,
postfix: &'i str,
separator: &'i str,
) -> ObjectConcatDisplay<'i>
pub fn with_postfix_sep( &self, postfix: &'i str, separator: &'i str, ) -> ObjectConcatDisplay<'i>
Returns object implementing Display to format this table name with given postfix
separated with given separator.
Sourcepub fn as_quoted_data(&self) -> QuotedDataConcatDisplay<'i>
pub fn as_quoted_data(&self) -> QuotedDataConcatDisplay<'i>
Gets object represented as quoted data.
Trait Implementations§
Source§impl<'i> Ord for Table<'i>
impl<'i> Ord for Table<'i>
Source§impl<'i> PartialOrd for Table<'i>
impl<'i> PartialOrd for Table<'i>
impl<'i> Copy for Table<'i>
impl<'i> Eq for Table<'i>
impl<'i> StructuralPartialEq for Table<'i>
Auto Trait Implementations§
impl<'i> Freeze for Table<'i>
impl<'i> RefUnwindSafe for Table<'i>
impl<'i> Send for Table<'i>
impl<'i> Sync for Table<'i>
impl<'i> Unpin for Table<'i>
impl<'i> UnwindSafe for Table<'i>
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