pub struct SummarizationReport {
pub content: String,
pub represented_source_tokens: u32,
pub target_summary_tokens: u32,
pub actual_summary_tokens: u32,
pub map_calls: u32,
pub reduce_calls: u32,
pub fallback_used: bool,
pub budget_clamped: bool,
pub budget_clamp_reason: Option<String>,
}Fields§
§content: String§represented_source_tokens: u32§target_summary_tokens: u32§actual_summary_tokens: u32§map_calls: u32§reduce_calls: u32§fallback_used: bool§budget_clamped: bool§budget_clamp_reason: Option<String>Trait Implementations§
Source§impl Clone for SummarizationReport
impl Clone for SummarizationReport
Source§fn clone(&self) -> SummarizationReport
fn clone(&self) -> SummarizationReport
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 moreAuto Trait Implementations§
impl Freeze for SummarizationReport
impl RefUnwindSafe for SummarizationReport
impl Send for SummarizationReport
impl Sync for SummarizationReport
impl Unpin for SummarizationReport
impl UnsafeUnpin for SummarizationReport
impl UnwindSafe for SummarizationReport
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