pub struct OpenApiToolOverride {
pub hint: Option<String>,
pub tags: Vec<String>,
pub examples: Vec<String>,
pub description: Option<String>,
pub scope: Option<String>,
pub response_extract: Option<String>,
pub response_format: Option<String>,
}Expand description
Per-operationId overrides for OpenAPI-discovered tools.
Fields§
§hint: Option<String>§examples: Vec<String>§description: Option<String>§scope: Option<String>§response_extract: Option<String>§response_format: Option<String>Trait Implementations§
Source§impl Clone for OpenApiToolOverride
impl Clone for OpenApiToolOverride
Source§fn clone(&self) -> OpenApiToolOverride
fn clone(&self) -> OpenApiToolOverride
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 OpenApiToolOverride
impl Debug for OpenApiToolOverride
Source§impl Default for OpenApiToolOverride
impl Default for OpenApiToolOverride
Source§fn default() -> OpenApiToolOverride
fn default() -> OpenApiToolOverride
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenApiToolOverride
impl<'de> Deserialize<'de> for OpenApiToolOverride
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OpenApiToolOverride
impl RefUnwindSafe for OpenApiToolOverride
impl Send for OpenApiToolOverride
impl Sync for OpenApiToolOverride
impl Unpin for OpenApiToolOverride
impl UnsafeUnpin for OpenApiToolOverride
impl UnwindSafe for OpenApiToolOverride
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