pub struct ConnectorDescription {
pub name: String,
pub instructions: Option<String>,
pub tools: Vec<ConnectorTool>,
}Expand description
Model-visible description of a connector.
Fields§
§name: StringJavaScript namespace used in sandbox code.
instructions: Option<String>Connector-level model guidance.
tools: Vec<ConnectorTool>Methods exposed by the connector.
Trait Implementations§
Source§impl Clone for ConnectorDescription
impl Clone for ConnectorDescription
Source§impl Debug for ConnectorDescription
impl Debug for ConnectorDescription
Source§impl<'de> Deserialize<'de> for ConnectorDescription
impl<'de> Deserialize<'de> for ConnectorDescription
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 ConnectorDescription
impl RefUnwindSafe for ConnectorDescription
impl Send for ConnectorDescription
impl Sync for ConnectorDescription
impl Unpin for ConnectorDescription
impl UnsafeUnpin for ConnectorDescription
impl UnwindSafe for ConnectorDescription
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