pub struct BeforeAgentStartResult {
pub prompt: Option<String>,
pub system_prompt_append: String,
}Fields§
§prompt: Option<String>Some replaces the user prompt.
system_prompt_append: StringTrait Implementations§
Source§impl Clone for BeforeAgentStartResult
impl Clone for BeforeAgentStartResult
Source§fn clone(&self) -> BeforeAgentStartResult
fn clone(&self) -> BeforeAgentStartResult
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 BeforeAgentStartResult
impl Debug for BeforeAgentStartResult
Source§impl Default for BeforeAgentStartResult
impl Default for BeforeAgentStartResult
Source§fn default() -> BeforeAgentStartResult
fn default() -> BeforeAgentStartResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BeforeAgentStartResult
impl RefUnwindSafe for BeforeAgentStartResult
impl Send for BeforeAgentStartResult
impl Sync for BeforeAgentStartResult
impl Unpin for BeforeAgentStartResult
impl UnsafeUnpin for BeforeAgentStartResult
impl UnwindSafe for BeforeAgentStartResult
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