Struct ella_engine::registry::SchemaId
source · pub struct SchemaId<'a> {
pub catalog: Id<'a>,
pub schema: Id<'a>,
}Fields§
§catalog: Id<'a>§schema: Id<'a>Implementations§
source§impl<'a> SchemaId<'a>
impl<'a> SchemaId<'a>
pub fn new(catalog: impl Into<Id<'a>>, schema: impl Into<Id<'a>>) -> Self
pub fn table(&self, table: impl Into<Id<'a>>) -> TableId<'a>
pub fn into_owned(self) -> SchemaId<'static>
pub fn parse(name: &'a str, default_catalog: Id<'a>) -> Self
pub fn resolve(schema: SchemaReference<'a>, default_catalog: Id<'a>) -> Self
Trait Implementations§
source§impl<'de, 'a> Deserialize<'de> for SchemaId<'a>
impl<'de, 'a> Deserialize<'de> for SchemaId<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> PartialEq<SchemaId<'a>> for SchemaId<'a>
impl<'a> PartialEq<SchemaId<'a>> for SchemaId<'a>
impl<'a> Eq for SchemaId<'a>
impl<'a> StructuralEq for SchemaId<'a>
impl<'a> StructuralPartialEq for SchemaId<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SchemaId<'a>
impl<'a> Send for SchemaId<'a>
impl<'a> Sync for SchemaId<'a>
impl<'a> Unpin for SchemaId<'a>
impl<'a> UnwindSafe for SchemaId<'a>
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.