pub struct CodeModeCatalog { /* private fields */ }Implementations§
Source§impl CodeModeCatalog
impl CodeModeCatalog
pub fn from_snapshots(snapshots: &[UpstreamSnapshot]) -> Self
pub fn names_only(&self) -> Vec<String>
pub fn schema_for(&self, id: &str) -> Result<Option<Value>, CatalogError>
Trait Implementations§
Source§impl Clone for CodeModeCatalog
impl Clone for CodeModeCatalog
Source§fn clone(&self) -> CodeModeCatalog
fn clone(&self) -> CodeModeCatalog
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 CodeModeCatalog
impl Debug for CodeModeCatalog
Source§impl Default for CodeModeCatalog
impl Default for CodeModeCatalog
Source§fn default() -> CodeModeCatalog
fn default() -> CodeModeCatalog
Returns the “default value” for a type. Read more
Source§impl PartialEq for CodeModeCatalog
impl PartialEq for CodeModeCatalog
Source§fn eq(&self, other: &CodeModeCatalog) -> bool
fn eq(&self, other: &CodeModeCatalog) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodeModeCatalog
Auto Trait Implementations§
impl Freeze for CodeModeCatalog
impl RefUnwindSafe for CodeModeCatalog
impl Send for CodeModeCatalog
impl Sync for CodeModeCatalog
impl Unpin for CodeModeCatalog
impl UnsafeUnpin for CodeModeCatalog
impl UnwindSafe for CodeModeCatalog
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