pub struct OpenApiToolDef {
pub operation_id: String,
pub description: String,
pub method: HttpMethod,
pub endpoint: String,
pub input_schema: Value,
pub tags: Vec<String>,
}Expand description
An extracted operation from an OpenAPI spec, before conversion to ATI Tool.
Fields§
§operation_id: String§description: String§method: HttpMethod§endpoint: String§input_schema: ValueTrait Implementations§
Source§impl Clone for OpenApiToolDef
impl Clone for OpenApiToolDef
Source§fn clone(&self) -> OpenApiToolDef
fn clone(&self) -> OpenApiToolDef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OpenApiToolDef
impl RefUnwindSafe for OpenApiToolDef
impl Send for OpenApiToolDef
impl Sync for OpenApiToolDef
impl Unpin for OpenApiToolDef
impl UnsafeUnpin for OpenApiToolDef
impl UnwindSafe for OpenApiToolDef
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