pub struct RegistryEntry {
pub name: String,
pub schema: Value,
}Expand description
One catalog in a CatalogRegistry.
Fields§
§name: StringThe application’s name for this catalog.
schema: ValueThe catalog document.
Implementations§
Source§impl RegistryEntry
impl RegistryEntry
Sourcepub fn catalog_id(&self) -> &str
pub fn catalog_id(&self) -> &str
The wire id: the document’s catalogId, or the local name if it has none.
Trait Implementations§
Source§impl Clone for RegistryEntry
impl Clone for RegistryEntry
Source§fn clone(&self) -> RegistryEntry
fn clone(&self) -> RegistryEntry
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 RegistryEntry
impl Debug for RegistryEntry
Source§impl PartialEq for RegistryEntry
impl PartialEq for RegistryEntry
Source§fn eq(&self, other: &RegistryEntry) -> bool
fn eq(&self, other: &RegistryEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegistryEntry
Auto Trait Implementations§
impl Freeze for RegistryEntry
impl RefUnwindSafe for RegistryEntry
impl Send for RegistryEntry
impl Sync for RegistryEntry
impl Unpin for RegistryEntry
impl UnsafeUnpin for RegistryEntry
impl UnwindSafe for RegistryEntry
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