pub struct UserPromptTransformedOutput {
pub modified_transformed_prompt: Option<String>,
}Expand description
Output for the userPromptTransformed hook.
Fields§
§modified_transformed_prompt: Option<String>Replacement model-facing prompt to persist and send to the model.
Trait Implementations§
Source§impl Clone for UserPromptTransformedOutput
impl Clone for UserPromptTransformedOutput
Source§fn clone(&self) -> UserPromptTransformedOutput
fn clone(&self) -> UserPromptTransformedOutput
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 UserPromptTransformedOutput
impl Debug for UserPromptTransformedOutput
Source§impl Default for UserPromptTransformedOutput
impl Default for UserPromptTransformedOutput
Source§fn default() -> UserPromptTransformedOutput
fn default() -> UserPromptTransformedOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UserPromptTransformedOutput
impl RefUnwindSafe for UserPromptTransformedOutput
impl Send for UserPromptTransformedOutput
impl Sync for UserPromptTransformedOutput
impl Unpin for UserPromptTransformedOutput
impl UnsafeUnpin for UserPromptTransformedOutput
impl UnwindSafe for UserPromptTransformedOutput
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