pub struct ConnectorExample {
pub command: String,
pub description: Option<String>,
}Expand description
One model-facing connector usage example.
Fields§
§command: StringExample invocation.
description: Option<String>Explanation of the example.
Trait Implementations§
Source§impl Clone for ConnectorExample
impl Clone for ConnectorExample
Source§impl Debug for ConnectorExample
impl Debug for ConnectorExample
Source§impl<'de> Deserialize<'de> for ConnectorExample
impl<'de> Deserialize<'de> for ConnectorExample
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 ConnectorExample
Source§impl PartialEq for ConnectorExample
impl PartialEq for ConnectorExample
Source§impl Serialize for ConnectorExample
impl Serialize for ConnectorExample
impl StructuralPartialEq for ConnectorExample
Auto Trait Implementations§
impl Freeze for ConnectorExample
impl RefUnwindSafe for ConnectorExample
impl Send for ConnectorExample
impl Sync for ConnectorExample
impl Unpin for ConnectorExample
impl UnsafeUnpin for ConnectorExample
impl UnwindSafe for ConnectorExample
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