pub struct SchemaTable<'i>(pub Schema<'i>, pub Table<'i>);
Expand description
Represents table name in a schema.
Tuple Fields§
§0: Schema<'i>
§1: Table<'i>
Implementations§
Source§impl<'i> SchemaTable<'i>
impl<'i> SchemaTable<'i>
Sourcepub fn with_postfix(&self, postfix: &'i str) -> impl Display + 'i
pub fn with_postfix(&self, postfix: &'i str) -> impl Display + '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> Clone for SchemaTable<'i>
impl<'i> Clone for SchemaTable<'i>
Source§fn clone(&self) -> SchemaTable<'i>
fn clone(&self) -> SchemaTable<'i>
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<'i> Debug for SchemaTable<'i>
impl<'i> Debug for SchemaTable<'i>
Source§impl Display for SchemaTable<'_>
impl Display for SchemaTable<'_>
Source§impl<'i, S: Into<Schema<'i>>, T: Into<Table<'i>>> From<(S, T)> for SchemaTable<'i>
impl<'i, S: Into<Schema<'i>>, T: Into<Table<'i>>> From<(S, T)> for SchemaTable<'i>
Source§fn from((schema, table): (S, T)) -> SchemaTable<'i>
fn from((schema, table): (S, T)) -> SchemaTable<'i>
Converts to this type from the input type.
Source§impl<'i> Ord for SchemaTable<'i>
impl<'i> Ord for SchemaTable<'i>
Source§fn cmp(&self, other: &SchemaTable<'i>) -> Ordering
fn cmp(&self, other: &SchemaTable<'i>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'i> PartialEq for SchemaTable<'i>
impl<'i> PartialEq for SchemaTable<'i>
Source§impl<'i> PartialOrd for SchemaTable<'i>
impl<'i> PartialOrd for SchemaTable<'i>
impl<'i> Copy for SchemaTable<'i>
impl<'i> Eq for SchemaTable<'i>
impl<'i> StructuralPartialEq for SchemaTable<'i>
Auto Trait Implementations§
impl<'i> Freeze for SchemaTable<'i>
impl<'i> RefUnwindSafe for SchemaTable<'i>
impl<'i> Send for SchemaTable<'i>
impl<'i> Sync for SchemaTable<'i>
impl<'i> Unpin for SchemaTable<'i>
impl<'i> UnwindSafe for SchemaTable<'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