pub struct PromptHookConfig {
pub prompt: String,
pub model: Option<String>,
}Expand description
Prompt hook configuration.
Fields§
§prompt: String§model: Option<String>Trait Implementations§
Source§impl Clone for PromptHookConfig
impl Clone for PromptHookConfig
Source§fn clone(&self) -> PromptHookConfig
fn clone(&self) -> PromptHookConfig
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 PromptHookConfig
impl Debug for PromptHookConfig
impl Eq for PromptHookConfig
Source§impl PartialEq for PromptHookConfig
impl PartialEq for PromptHookConfig
Source§fn eq(&self, other: &PromptHookConfig) -> bool
fn eq(&self, other: &PromptHookConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PromptHookConfig
Auto Trait Implementations§
impl Freeze for PromptHookConfig
impl RefUnwindSafe for PromptHookConfig
impl Send for PromptHookConfig
impl Sync for PromptHookConfig
impl Unpin for PromptHookConfig
impl UnsafeUnpin for PromptHookConfig
impl UnwindSafe for PromptHookConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.