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