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