pub struct CreateContextWindowRequest {
pub id: String,
pub conversation: ConversationScope,
pub stage: ContextWindowStage,
pub purpose: String,
pub token_count: u64,
pub items: Vec<ContextWindowItem>,
}Fields§
§id: String§conversation: ConversationScope§stage: ContextWindowStage§purpose: String§token_count: u64§items: Vec<ContextWindowItem>Trait Implementations§
Source§impl Clone for CreateContextWindowRequest
impl Clone for CreateContextWindowRequest
Source§fn clone(&self) -> CreateContextWindowRequest
fn clone(&self) -> CreateContextWindowRequest
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 CreateContextWindowRequest
impl Debug for CreateContextWindowRequest
Source§impl<'de> Deserialize<'de> for CreateContextWindowRequest
impl<'de> Deserialize<'de> for CreateContextWindowRequest
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
impl StructuralPartialEq for CreateContextWindowRequest
Auto Trait Implementations§
impl Freeze for CreateContextWindowRequest
impl RefUnwindSafe for CreateContextWindowRequest
impl Send for CreateContextWindowRequest
impl Sync for CreateContextWindowRequest
impl Unpin for CreateContextWindowRequest
impl UnsafeUnpin for CreateContextWindowRequest
impl UnwindSafe for CreateContextWindowRequest
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