pub struct ToolProxyParams {
pub endpoint: String,
pub method: HttpMethod,
pub body: Option<Value>,
pub connected_account_id: Option<String>,
pub parameters: Option<Vec<ProxyParameter>>,
pub custom_connection_data: Option<CustomConnectionData>,
}Expand description
Tool proxy parameters
Fields§
§endpoint: StringAPI endpoint to call
method: HttpMethodHTTP method
body: Option<Value>Request body
connected_account_id: Option<String>Connected account ID
parameters: Option<Vec<ProxyParameter>>Additional parameters (headers, query params)
custom_connection_data: Option<CustomConnectionData>Custom connection data
Trait Implementations§
Source§impl Clone for ToolProxyParams
impl Clone for ToolProxyParams
Source§fn clone(&self) -> ToolProxyParams
fn clone(&self) -> ToolProxyParams
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 moreSource§impl Debug for ToolProxyParams
impl Debug for ToolProxyParams
Source§impl<'de> Deserialize<'de> for ToolProxyParams
impl<'de> Deserialize<'de> for ToolProxyParams
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 ToolProxyParams
impl RefUnwindSafe for ToolProxyParams
impl Send for ToolProxyParams
impl Sync for ToolProxyParams
impl Unpin for ToolProxyParams
impl UnsafeUnpin for ToolProxyParams
impl UnwindSafe for ToolProxyParams
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