pub struct SchemaNamespace { /* private fields */ }Expand description
A schema namespace search list.
Implementations§
Source§impl SchemaNamespace
impl SchemaNamespace
Sourcepub const fn new(schemas: Vec<SchemaName>) -> Self
pub const fn new(schemas: Vec<SchemaName>) -> Self
Creates a schema namespace from ordered schema names.
Sourcepub fn schemas(&self) -> &[SchemaName]
pub fn schemas(&self) -> &[SchemaName]
Returns the schema list.
Trait Implementations§
Source§impl Clone for SchemaNamespace
impl Clone for SchemaNamespace
Source§fn clone(&self) -> SchemaNamespace
fn clone(&self) -> SchemaNamespace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchemaNamespace
impl Debug for SchemaNamespace
Source§impl Default for SchemaNamespace
impl Default for SchemaNamespace
Source§fn default() -> SchemaNamespace
fn default() -> SchemaNamespace
Returns the “default value” for a type. Read more
Source§impl Hash for SchemaNamespace
impl Hash for SchemaNamespace
Source§impl Ord for SchemaNamespace
impl Ord for SchemaNamespace
Source§fn cmp(&self, other: &SchemaNamespace) -> Ordering
fn cmp(&self, other: &SchemaNamespace) -> Ordering
1.21.0 (const: unstable) · 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 PartialEq for SchemaNamespace
impl PartialEq for SchemaNamespace
Source§fn eq(&self, other: &SchemaNamespace) -> bool
fn eq(&self, other: &SchemaNamespace) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SchemaNamespace
impl PartialOrd for SchemaNamespace
impl Eq for SchemaNamespace
impl StructuralPartialEq for SchemaNamespace
Auto Trait Implementations§
impl Freeze for SchemaNamespace
impl RefUnwindSafe for SchemaNamespace
impl Send for SchemaNamespace
impl Sync for SchemaNamespace
impl Unpin for SchemaNamespace
impl UnsafeUnpin for SchemaNamespace
impl UnwindSafe for SchemaNamespace
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