pub struct ChatCompletionContext {
pub scratchpad: Option<Value>,
}Fields§
§scratchpad: Option<Value>Trait Implementations§
Source§impl Clone for ChatCompletionContext
impl Clone for ChatCompletionContext
Source§fn clone(&self) -> ChatCompletionContext
fn clone(&self) -> ChatCompletionContext
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 ChatCompletionContext
impl Debug for ChatCompletionContext
Source§impl<'de> Deserialize<'de> for ChatCompletionContext
impl<'de> Deserialize<'de> for ChatCompletionContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChatCompletionContext
impl PartialEq for ChatCompletionContext
Source§impl Serialize for ChatCompletionContext
impl Serialize for ChatCompletionContext
impl StructuralPartialEq for ChatCompletionContext
Auto Trait Implementations§
impl Freeze for ChatCompletionContext
impl RefUnwindSafe for ChatCompletionContext
impl Send for ChatCompletionContext
impl Sync for ChatCompletionContext
impl Unpin for ChatCompletionContext
impl UnwindSafe for ChatCompletionContext
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