#[non_exhaustive]pub struct FreeFormContext {
pub text: String,
/* private fields */
}Available on crate features
conversations or generators only.Expand description
Free form generator context that customer can configure.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.text: StringOptional. Free form text input to LLM.
Implementations§
Trait Implementations§
Source§impl Clone for FreeFormContext
impl Clone for FreeFormContext
Source§fn clone(&self) -> FreeFormContext
fn clone(&self) -> FreeFormContext
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 moreSource§impl Debug for FreeFormContext
impl Debug for FreeFormContext
Source§impl Default for FreeFormContext
impl Default for FreeFormContext
Source§fn default() -> FreeFormContext
fn default() -> FreeFormContext
Returns the “default value” for a type. Read more
Source§impl Message for FreeFormContext
impl Message for FreeFormContext
Source§impl PartialEq for FreeFormContext
impl PartialEq for FreeFormContext
impl StructuralPartialEq for FreeFormContext
Auto Trait Implementations§
impl Freeze for FreeFormContext
impl RefUnwindSafe for FreeFormContext
impl Send for FreeFormContext
impl Sync for FreeFormContext
impl Unpin for FreeFormContext
impl UnwindSafe for FreeFormContext
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