pub struct ToolOptions {
pub prefix: Option<String>,
pub include: Vec<String>,
pub exclude: Vec<String>,
}Expand description
Which operations become tools, and how they’re named.
Fields§
§prefix: Option<String>Tool names get <prefix>__ (the gateway’s naming).
include: Vec<String>operationIds (or generated names) to expose; empty: every GET.
exclude: Vec<String>operationIds never to expose.
Trait Implementations§
Source§impl Clone for ToolOptions
impl Clone for ToolOptions
Source§impl Debug for ToolOptions
impl Debug for ToolOptions
Auto Trait Implementations§
impl Freeze for ToolOptions
impl RefUnwindSafe for ToolOptions
impl Send for ToolOptions
impl Sync for ToolOptions
impl Unpin for ToolOptions
impl UnsafeUnpin for ToolOptions
impl UnwindSafe for ToolOptions
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