Struct SchemaRef
pub struct SchemaRef { /* private fields */ }Expand description
A database schema reference.
Implementations§
§impl SchemaRef
impl SchemaRef
pub const fn new(schema: SchemaName) -> SchemaRef
pub const fn new(schema: SchemaName) -> SchemaRef
Creates a schema reference.
pub fn with_database(self, database: DatabaseName) -> SchemaRef
pub fn with_database(self, database: DatabaseName) -> SchemaRef
Adds a database/catalog qualifier.
pub const fn database(&self) -> Option<&DatabaseName>
pub const fn database(&self) -> Option<&DatabaseName>
Returns the optional database/catalog name.
pub const fn schema(&self) -> &SchemaName
pub const fn schema(&self) -> &SchemaName
Returns the schema name.
Trait Implementations§
§impl Ord for SchemaRef
impl Ord for SchemaRef
§impl PartialOrd for SchemaRef
impl PartialOrd for SchemaRef
impl Eq for SchemaRef
impl StructuralPartialEq for SchemaRef
Auto Trait Implementations§
impl Freeze for SchemaRef
impl RefUnwindSafe for SchemaRef
impl Send for SchemaRef
impl Sync for SchemaRef
impl Unpin for SchemaRef
impl UnsafeUnpin for SchemaRef
impl UnwindSafe for SchemaRef
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