pub struct InlineCatalog {
pub catalog_id: String,
pub component_names: Vec<String>,
pub functions: Vec<FunctionSchema>,
}Expand description
A parsed inline catalog — enough metadata to register its functions and to know which component names should fall back to the generic renderer.
Fields§
§catalog_id: StringThe catalog’s unique identifier (catalogId).
component_names: Vec<String>Names of components declared in the catalog (no native renderer).
functions: Vec<FunctionSchema>Functions declared in the catalog (schema-only).
Trait Implementations§
Source§impl Clone for InlineCatalog
impl Clone for InlineCatalog
Source§fn clone(&self) -> InlineCatalog
fn clone(&self) -> InlineCatalog
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 InlineCatalog
impl Debug for InlineCatalog
impl Eq for InlineCatalog
Source§impl PartialEq for InlineCatalog
impl PartialEq for InlineCatalog
Source§fn eq(&self, other: &InlineCatalog) -> bool
fn eq(&self, other: &InlineCatalog) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InlineCatalog
Auto Trait Implementations§
impl Freeze for InlineCatalog
impl RefUnwindSafe for InlineCatalog
impl Send for InlineCatalog
impl Sync for InlineCatalog
impl Unpin for InlineCatalog
impl UnsafeUnpin for InlineCatalog
impl UnwindSafe for InlineCatalog
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