pub struct PreparedRequest {
pub body: JsonObject,
pub warnings: Vec<Warning>,
pub tool_name_mapping: ToolNameMapping,
pub capabilities: ModelCapabilities,
}Expand description
A request body plus everything the response mapping needs.
Fields§
§body: JsonObjectRequest body.
warnings: Vec<Warning>Warnings collected while preparing.
tool_name_mapping: ToolNameMappingCustom ↔ provider tool name mapping.
capabilities: ModelCapabilitiesModel capabilities.
Trait Implementations§
Source§impl Clone for PreparedRequest
impl Clone for PreparedRequest
Source§fn clone(&self) -> PreparedRequest
fn clone(&self) -> PreparedRequest
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 moreAuto Trait Implementations§
impl Freeze for PreparedRequest
impl RefUnwindSafe for PreparedRequest
impl Send for PreparedRequest
impl Sync for PreparedRequest
impl Unpin for PreparedRequest
impl UnsafeUnpin for PreparedRequest
impl UnwindSafe for PreparedRequest
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