pub struct CompactedResponse {
pub id: String,
pub created_at: i64,
pub object: String,
pub output: Vec<ResponseOutputItem>,
pub usage: ResponseUsage,
}Fields§
§id: StringThe unique identifier for the compacted response.
created_at: i64Unix timestamp (in seconds) when the compacted conversation was created.
object: StringThe object type. Always response.compaction.
output: Vec<ResponseOutputItem>The compacted list of output items.
usage: ResponseUsageToken accounting for the compaction pass, including cached, reasoning, and total
Trait Implementations§
Source§impl Clone for CompactedResponse
impl Clone for CompactedResponse
Source§fn clone(&self) -> CompactedResponse
fn clone(&self) -> CompactedResponse
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 CompactedResponse
impl Debug for CompactedResponse
Source§impl<'de> Deserialize<'de> for CompactedResponse
impl<'de> Deserialize<'de> for CompactedResponse
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
Auto Trait Implementations§
impl Freeze for CompactedResponse
impl RefUnwindSafe for CompactedResponse
impl Send for CompactedResponse
impl Sync for CompactedResponse
impl Unpin for CompactedResponse
impl UnsafeUnpin for CompactedResponse
impl UnwindSafe for CompactedResponse
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