pub struct SearchSupplier {
pub id: ServerLabel,
pub url: String,
pub remote: String,
pub query_field: String,
pub objective_field: Option<String>,
pub count_field: Option<String>,
pub accounts: Vec<ProviderAccount>,
}Expand description
One search service reached over MCP streamable HTTP.
Fields§
§id: ServerLabelThe supplier’s name, and the Connector label web_search carries.
url: StringThe MCP HTTP address, judged like an [[mcp]] url (city D26).
remote: StringThe name of the remote tool in this supplier’s tools/list.
query_field: StringThe remote parameter web_search’s query is handed to.
objective_field: Option<String>The remote parameter objective is handed to; None when this
supplier takes no objective.
count_field: Option<String>The remote parameter num_results is handed to; None when this
supplier takes no count.
accounts: Vec<ProviderAccount>In priority order. An anonymous account is the row without a reference; a key appears only as its vault reference.
Trait Implementations§
Source§impl Clone for SearchSupplier
impl Clone for SearchSupplier
Source§impl Debug for SearchSupplier
impl Debug for SearchSupplier
Source§impl<'de> Deserialize<'de> for SearchSupplier
impl<'de> Deserialize<'de> for SearchSupplier
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
impl Eq for SearchSupplier
Source§impl PartialEq for SearchSupplier
impl PartialEq for SearchSupplier
Source§impl Serialize for SearchSupplier
impl Serialize for SearchSupplier
impl StructuralPartialEq for SearchSupplier
Auto Trait Implementations§
impl Freeze for SearchSupplier
impl RefUnwindSafe for SearchSupplier
impl Send for SearchSupplier
impl Sync for SearchSupplier
impl Unpin for SearchSupplier
impl UnsafeUnpin for SearchSupplier
impl UnwindSafe for SearchSupplier
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