pub struct ExportMetadata {
pub session_label: String,
pub provider: String,
pub model: String,
pub mode: String,
pub workspace_name: String,
pub message_count: usize,
pub exported_at_unix: i64,
}Expand description
Portable conversation metadata for the export header (D3).
Values that already have an authoritative host derivation keep it (session-label truncation, provider identity, model label, mode display, workspace basename, message count, clock); portable rendering adds only export formatting and sanitization (D10).
Fields§
§session_label: StringHost-truncated session id, or the baseline unsaved fallback.
provider: String§model: String§mode: String§workspace_name: StringWorkspace directory basename, or the baseline workspace fallback.
message_count: usizeapi_messages.len() when authoritative, otherwise history.len().
exported_at_unix: i64Trait Implementations§
Source§impl Clone for ExportMetadata
impl Clone for ExportMetadata
Source§impl Debug for ExportMetadata
impl Debug for ExportMetadata
impl Eq for ExportMetadata
Source§impl PartialEq for ExportMetadata
impl PartialEq for ExportMetadata
impl StructuralPartialEq for ExportMetadata
Auto Trait Implementations§
impl Freeze for ExportMetadata
impl RefUnwindSafe for ExportMetadata
impl Send for ExportMetadata
impl Sync for ExportMetadata
impl Unpin for ExportMetadata
impl UnsafeUnpin for ExportMetadata
impl UnwindSafe for ExportMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.