pub struct SummaryInput {
pub id: Option<Id>,
pub capsule_id: Id,
pub content: String,
pub confidence: f64,
pub created_at: Option<Timestamp>,
pub evidence_refs: Vec<Id>,
}Expand description
Input for creating a new summary. Optional fields are auto-generated.
Fields§
§id: Option<Id>§capsule_id: Id§content: String§confidence: f64§created_at: Option<Timestamp>§evidence_refs: Vec<Id>Trait Implementations§
Source§impl Clone for SummaryInput
impl Clone for SummaryInput
Source§fn clone(&self) -> SummaryInput
fn clone(&self) -> SummaryInput
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 SummaryInput
impl Debug for SummaryInput
Source§impl<'de> Deserialize<'de> for SummaryInput
impl<'de> Deserialize<'de> for SummaryInput
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
Source§impl PartialEq for SummaryInput
impl PartialEq for SummaryInput
Source§fn eq(&self, other: &SummaryInput) -> bool
fn eq(&self, other: &SummaryInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SummaryInput
impl Serialize for SummaryInput
impl StructuralPartialEq for SummaryInput
Auto Trait Implementations§
impl Freeze for SummaryInput
impl RefUnwindSafe for SummaryInput
impl Send for SummaryInput
impl Sync for SummaryInput
impl Unpin for SummaryInput
impl UnsafeUnpin for SummaryInput
impl UnwindSafe for SummaryInput
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