pub struct CloseCapsuleOptions {
pub generate_summary: bool,
pub summary_content: Option<String>,
pub confidence: Option<f64>,
}Expand description
Options for KindlingService::close_capsule.
Mirrors CloseCapsuleOptions in the TS service. A summary is generated and
persisted only when generate_summary is set AND summary_content is
present.
Fields§
§generate_summary: boolWhether to generate a closing summary.
summary_content: Option<String>Content for the generated summary.
confidence: Option<f64>Summary confidence; defaults to 1.0 (the TS service default).
Trait Implementations§
Source§impl Clone for CloseCapsuleOptions
impl Clone for CloseCapsuleOptions
Source§fn clone(&self) -> CloseCapsuleOptions
fn clone(&self) -> CloseCapsuleOptions
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 CloseCapsuleOptions
impl Debug for CloseCapsuleOptions
Source§impl Default for CloseCapsuleOptions
impl Default for CloseCapsuleOptions
Source§fn default() -> CloseCapsuleOptions
fn default() -> CloseCapsuleOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CloseCapsuleOptions
impl RefUnwindSafe for CloseCapsuleOptions
impl Send for CloseCapsuleOptions
impl Sync for CloseCapsuleOptions
impl Unpin for CloseCapsuleOptions
impl UnsafeUnpin for CloseCapsuleOptions
impl UnwindSafe for CloseCapsuleOptions
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