pub struct OutputVersion {
pub id: String,
pub content_address: String,
pub content: String,
pub model: String,
pub created_at: DateTime<Utc>,
pub annotation: VersionAnnotation,
pub parent_id: Option<String>,
}Expand description
A stored version of an LLM output.
Fields§
§id: StringUnique UUID for this version.
content_address: StringFNV-1a hash of the content, used for deduplication.
content: StringThe raw text content.
model: StringModel that produced this output.
created_at: DateTime<Utc>UTC timestamp of creation.
annotation: VersionAnnotationWhy this version was created.
parent_id: Option<String>Optional parent version ID for lineage tracking.
Implementations§
Trait Implementations§
Source§impl Clone for OutputVersion
impl Clone for OutputVersion
Source§fn clone(&self) -> OutputVersion
fn clone(&self) -> OutputVersion
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 OutputVersion
impl Debug for OutputVersion
Source§impl<'de> Deserialize<'de> for OutputVersion
impl<'de> Deserialize<'de> for OutputVersion
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 OutputVersion
impl RefUnwindSafe for OutputVersion
impl Send for OutputVersion
impl Sync for OutputVersion
impl Unpin for OutputVersion
impl UnsafeUnpin for OutputVersion
impl UnwindSafe for OutputVersion
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