pub struct InMemoryCatalogMetadataStore { /* private fields */ }Expand description
Simple in-memory metadata store for tests or embedded snapshots.
Implementations§
Source§impl InMemoryCatalogMetadataStore
impl InMemoryCatalogMetadataStore
pub fn new(entries: Vec<CatalogModelMetadata>) -> Self
Trait Implementations§
Source§impl CatalogMetadataStore for InMemoryCatalogMetadataStore
impl CatalogMetadataStore for InMemoryCatalogMetadataStore
fn find_by_raw_or_alias( &self, _provider: &Provider, raw_id: &str, normalized_aliases: &[String], ) -> Option<CatalogModelMatch>
Source§impl Clone for InMemoryCatalogMetadataStore
impl Clone for InMemoryCatalogMetadataStore
Source§fn clone(&self) -> InMemoryCatalogMetadataStore
fn clone(&self) -> InMemoryCatalogMetadataStore
Returns a duplicate of the value. Read more
1.0.0 · 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 InMemoryCatalogMetadataStore
impl Debug for InMemoryCatalogMetadataStore
Source§impl Default for InMemoryCatalogMetadataStore
impl Default for InMemoryCatalogMetadataStore
Source§fn default() -> InMemoryCatalogMetadataStore
fn default() -> InMemoryCatalogMetadataStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryCatalogMetadataStore
impl RefUnwindSafe for InMemoryCatalogMetadataStore
impl Send for InMemoryCatalogMetadataStore
impl Sync for InMemoryCatalogMetadataStore
impl Unpin for InMemoryCatalogMetadataStore
impl UnsafeUnpin for InMemoryCatalogMetadataStore
impl UnwindSafe for InMemoryCatalogMetadataStore
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