pub struct ProviderPrompt {
pub name: String,
pub description: String,
pub template: Option<String>,
pub arguments_schema: Option<Value>,
pub scope: Option<String>,
pub mcp: Option<McpOverlay>,
pub examples: Vec<ProviderExample>,
}Fields§
§name: String§description: String§template: Option<String>§arguments_schema: Option<Value>§scope: Option<String>§mcp: Option<McpOverlay>§examples: Vec<ProviderExample>Trait Implementations§
Source§impl Clone for ProviderPrompt
impl Clone for ProviderPrompt
Source§fn clone(&self) -> ProviderPrompt
fn clone(&self) -> ProviderPrompt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProviderPrompt
impl Debug for ProviderPrompt
Source§impl<'de> Deserialize<'de> for ProviderPrompt
impl<'de> Deserialize<'de> for ProviderPrompt
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 PartialEq for ProviderPrompt
impl PartialEq for ProviderPrompt
Source§fn eq(&self, other: &ProviderPrompt) -> bool
fn eq(&self, other: &ProviderPrompt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderPrompt
impl Serialize for ProviderPrompt
impl StructuralPartialEq for ProviderPrompt
Auto Trait Implementations§
impl Freeze for ProviderPrompt
impl RefUnwindSafe for ProviderPrompt
impl Send for ProviderPrompt
impl Sync for ProviderPrompt
impl Unpin for ProviderPrompt
impl UnsafeUnpin for ProviderPrompt
impl UnwindSafe for ProviderPrompt
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