pub struct ModuleSchema {
pub module_name: String,
pub functions: Vec<ModuleFunctionSchema>,
}Expand description
Module-level schema for a shape.module capability.
Serialized as MessagePack and returned by get_module_schema.
Fields§
§module_name: StringModule namespace name (e.g., “duckdb”).
functions: Vec<ModuleFunctionSchema>Exported callable functions in this module.
Trait Implementations§
Source§impl Clone for ModuleSchema
impl Clone for ModuleSchema
Source§fn clone(&self) -> ModuleSchema
fn clone(&self) -> ModuleSchema
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 ModuleSchema
impl Debug for ModuleSchema
Source§impl PartialEq for ModuleSchema
impl PartialEq for ModuleSchema
Source§fn eq(&self, other: &ModuleSchema) -> bool
fn eq(&self, other: &ModuleSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModuleSchema
Auto Trait Implementations§
impl Freeze for ModuleSchema
impl RefUnwindSafe for ModuleSchema
impl Send for ModuleSchema
impl Sync for ModuleSchema
impl Unpin for ModuleSchema
impl UnsafeUnpin for ModuleSchema
impl UnwindSafe for ModuleSchema
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