pub struct AgentPrompts {
pub system: Option<String>,
pub developer: Option<String>,
}Expand description
AgentPrompts model.
Fields§
§system: Option<String>§developer: Option<String>Trait Implementations§
Source§impl Clone for AgentPrompts
impl Clone for AgentPrompts
Source§fn clone(&self) -> AgentPrompts
fn clone(&self) -> AgentPrompts
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 AgentPrompts
impl Debug for AgentPrompts
Source§impl Default for AgentPrompts
impl Default for AgentPrompts
Source§fn default() -> AgentPrompts
fn default() -> AgentPrompts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentPrompts
impl<'de> Deserialize<'de> for AgentPrompts
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 AgentPrompts
impl PartialEq for AgentPrompts
Source§impl Serialize for AgentPrompts
impl Serialize for AgentPrompts
impl StructuralPartialEq for AgentPrompts
Auto Trait Implementations§
impl Freeze for AgentPrompts
impl RefUnwindSafe for AgentPrompts
impl Send for AgentPrompts
impl Sync for AgentPrompts
impl Unpin for AgentPrompts
impl UnsafeUnpin for AgentPrompts
impl UnwindSafe for AgentPrompts
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