pub struct ApiMcpSinkConfig {
pub args: Option<Vec<String>>,
pub dsn: String,
pub tool_name: String,
}Expand description
ApiMcpSinkConfig
JSON schema
{
"type": "object",
"required": [
"dsn",
"tool_name"
],
"properties": {
"args": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"dsn": {
"type": "string"
},
"tool_name": {
"type": "string"
}
}
}Fields§
§args: Option<Vec<String>>§dsn: String§tool_name: StringTrait Implementations§
Source§impl Clone for ApiMcpSinkConfig
impl Clone for ApiMcpSinkConfig
Source§fn clone(&self) -> ApiMcpSinkConfig
fn clone(&self) -> ApiMcpSinkConfig
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 ApiMcpSinkConfig
impl Debug for ApiMcpSinkConfig
Source§impl<'de> Deserialize<'de> for ApiMcpSinkConfig
impl<'de> Deserialize<'de> for ApiMcpSinkConfig
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
Source§impl From<ApiMcpSinkConfig> for ApiSinkConfig
impl From<ApiMcpSinkConfig> for ApiSinkConfig
Source§fn from(value: ApiMcpSinkConfig) -> Self
fn from(value: ApiMcpSinkConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApiMcpSinkConfig
impl RefUnwindSafe for ApiMcpSinkConfig
impl Send for ApiMcpSinkConfig
impl Sync for ApiMcpSinkConfig
impl Unpin for ApiMcpSinkConfig
impl UnsafeUnpin for ApiMcpSinkConfig
impl UnwindSafe for ApiMcpSinkConfig
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