pub struct GeneratedTableColumns { /* private fields */ }Expand description
Generated columns keyed by qualified table identity, with unique unqualified lookup.
Implementations§
Source§impl GeneratedTableColumns
impl GeneratedTableColumns
pub fn is_empty(&self) -> bool
pub fn insert_table(&mut self, table: GeneratedTable)
pub fn register_relation(&mut self, key: &str, base: &str)
pub fn display_name(&self, key: &str, base: &str) -> String
pub fn insert_table_with_key(&mut self, key: &str, table: GeneratedTable)
pub fn extend_from(&mut self, other: &Self)
pub fn prefer_relation(&mut self, key: &str, base: &str)
pub fn get_exact(&self, table: &str) -> Option<&GeneratedTable>
Sourcepub fn get(&self, table: &str) -> Option<&GeneratedTable>
pub fn get(&self, table: &str) -> Option<&GeneratedTable>
Resolve an exact relation or a unique unqualified name.
pub fn contains_table(&self, table: &str) -> bool
Trait Implementations§
Source§impl Clone for GeneratedTableColumns
impl Clone for GeneratedTableColumns
Source§impl Debug for GeneratedTableColumns
impl Debug for GeneratedTableColumns
Source§impl Default for GeneratedTableColumns
impl Default for GeneratedTableColumns
impl Eq for GeneratedTableColumns
Source§impl PartialEq for GeneratedTableColumns
impl PartialEq for GeneratedTableColumns
impl StructuralPartialEq for GeneratedTableColumns
Auto Trait Implementations§
impl Forget for GeneratedTableColumns
impl Freeze for GeneratedTableColumnswhere
*const LeafNode<String, GeneratedTable> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, GeneratedTable)>>: Freeze,
*const LeafNode<String, BTreeSet<String>> is !null: Freeze,
PhantomData<Box<(String, BTreeSet<String>)>>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
impl Move for GeneratedTableColumns
impl RefUnwindSafe for GeneratedTableColumns
impl Send for GeneratedTableColumns
impl Sync for GeneratedTableColumns
impl Unpin for GeneratedTableColumns
impl UnsafeUnpin for GeneratedTableColumnswhere
*const LeafNode<String, GeneratedTable> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, GeneratedTable)>>: UnsafeUnpin,
*const LeafNode<String, BTreeSet<String>> is !null: UnsafeUnpin,
PhantomData<Box<(String, BTreeSet<String>)>>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
impl UnwindSafe for GeneratedTableColumnswhere
BTreeMap<String, GeneratedTable>: UnwindSafe,
BTreeMap<String, BTreeSet<String>>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
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