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