pub struct SummarizeContextResponse {
pub summary_id: String,
pub original_context: String,
pub summary: String,
pub method: String,
pub original_length: usize,
pub summary_length: usize,
pub compression_ratio: f32,
pub language: String,
pub status: String,
pub message: String,
pub metadata: HashMap<String, String>,
}Expand description
Summarize context response
Fields§
§summary_id: StringSummary ID
original_context: StringOriginal context
summary: StringGenerated summary
method: StringMethod used
original_length: usizeOriginal context length
summary_length: usizeSummary length
compression_ratio: f32Compression ratio
language: StringLanguage
status: StringStatus
message: StringMessage
metadata: HashMap<String, String>Metadata
Trait Implementations§
Source§impl Clone for SummarizeContextResponse
impl Clone for SummarizeContextResponse
Source§fn clone(&self) -> SummarizeContextResponse
fn clone(&self) -> SummarizeContextResponse
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 SummarizeContextResponse
impl Debug for SummarizeContextResponse
Source§impl<'de> Deserialize<'de> for SummarizeContextResponse
impl<'de> Deserialize<'de> for SummarizeContextResponse
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 SummarizeContextResponse
impl RefUnwindSafe for SummarizeContextResponse
impl Send for SummarizeContextResponse
impl Sync for SummarizeContextResponse
impl Unpin for SummarizeContextResponse
impl UnwindSafe for SummarizeContextResponse
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