pub struct QueryCapabilitySpec {
pub name: &'static str,
pub category: &'static str,
pub read_only: bool,
pub mcp_tool: &'static str,
pub fields: &'static [&'static str],
pub required_fields: &'static [&'static str],
pub positionals: usize,
pub projection: bool,
pub paginated: bool,
pub example: &'static str,
}Fields§
§name: &'static str§category: &'static str§read_only: bool§mcp_tool: &'static str§fields: &'static [&'static str]§required_fields: &'static [&'static str]§positionals: usize§projection: bool§paginated: bool§example: &'static strTrait Implementations§
Source§impl Clone for QueryCapabilitySpec
impl Clone for QueryCapabilitySpec
Source§fn clone(&self) -> QueryCapabilitySpec
fn clone(&self) -> QueryCapabilitySpec
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 moreimpl Copy for QueryCapabilitySpec
Source§impl Debug for QueryCapabilitySpec
impl Debug for QueryCapabilitySpec
impl Eq for QueryCapabilitySpec
Source§impl PartialEq for QueryCapabilitySpec
impl PartialEq for QueryCapabilitySpec
impl StructuralPartialEq for QueryCapabilitySpec
Auto Trait Implementations§
impl Freeze for QueryCapabilitySpec
impl RefUnwindSafe for QueryCapabilitySpec
impl Send for QueryCapabilitySpec
impl Sync for QueryCapabilitySpec
impl Unpin for QueryCapabilitySpec
impl UnsafeUnpin for QueryCapabilitySpec
impl UnwindSafe for QueryCapabilitySpec
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