pub struct SessionExport {
pub exported_at: String,
pub format: String,
pub session_id: String,
pub agent_id: String,
pub agent_name: Option<String>,
pub title: String,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub messages: Vec<SessionExportMessage>,
}Expand description
SessionExport model.
Fields§
§exported_at: String§format: StringAlways snaga.chat.v1.
session_id: String§agent_id: String§agent_name: Option<String>§title: String§created_at: Option<String>§updated_at: Option<String>§messages: Vec<SessionExportMessage>Trait Implementations§
Source§impl Clone for SessionExport
impl Clone for SessionExport
Source§fn clone(&self) -> SessionExport
fn clone(&self) -> SessionExport
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 SessionExport
impl Debug for SessionExport
Source§impl Default for SessionExport
impl Default for SessionExport
Source§fn default() -> SessionExport
fn default() -> SessionExport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionExport
impl<'de> Deserialize<'de> for SessionExport
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 SessionExport
impl PartialEq for SessionExport
Source§impl Serialize for SessionExport
impl Serialize for SessionExport
impl StructuralPartialEq for SessionExport
Auto Trait Implementations§
impl Freeze for SessionExport
impl RefUnwindSafe for SessionExport
impl Send for SessionExport
impl Sync for SessionExport
impl Unpin for SessionExport
impl UnsafeUnpin for SessionExport
impl UnwindSafe for SessionExport
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