pub struct CloseCapsuleBody {
pub generate_summary: Option<bool>,
pub summary_content: Option<String>,
pub confidence: Option<f64>,
}Expand description
PATCH /v1/capsules/:id/close body — all fields optional.
Fields§
§generate_summary: Option<bool>Ask the daemon to generate a summary on close.
summary_content: Option<String>Provide summary content directly.
confidence: Option<f64>Confidence for a provided summary, in [0.0, 1.0].
Trait Implementations§
Source§impl Clone for CloseCapsuleBody
impl Clone for CloseCapsuleBody
Source§fn clone(&self) -> CloseCapsuleBody
fn clone(&self) -> CloseCapsuleBody
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 CloseCapsuleBody
impl Debug for CloseCapsuleBody
Source§impl Default for CloseCapsuleBody
impl Default for CloseCapsuleBody
Source§fn default() -> CloseCapsuleBody
fn default() -> CloseCapsuleBody
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CloseCapsuleBody
impl RefUnwindSafe for CloseCapsuleBody
impl Send for CloseCapsuleBody
impl Sync for CloseCapsuleBody
impl Unpin for CloseCapsuleBody
impl UnsafeUnpin for CloseCapsuleBody
impl UnwindSafe for CloseCapsuleBody
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