pub struct PromptCustomization {
pub action_name: String,
pub custom_template: Option<String>,
pub additional_instructions: Option<String>,
}Expand description
Individual prompt customization
Fields§
§action_name: String§custom_template: Option<String>§additional_instructions: Option<String>Trait Implementations§
Source§impl Clone for PromptCustomization
impl Clone for PromptCustomization
Source§fn clone(&self) -> PromptCustomization
fn clone(&self) -> PromptCustomization
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 moreAuto Trait Implementations§
impl Freeze for PromptCustomization
impl RefUnwindSafe for PromptCustomization
impl Send for PromptCustomization
impl Sync for PromptCustomization
impl Unpin for PromptCustomization
impl UnsafeUnpin for PromptCustomization
impl UnwindSafe for PromptCustomization
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