pub struct SessionView {
pub model: String,
pub context_files: Vec<String>,
pub message_indices: Vec<usize>,
pub history_start_pair: usize,
pub excluded_pairs: Vec<usize>,
pub created_at: DateTime<Utc>,
}Fields§
§model: String§context_files: Vec<String>§message_indices: Vec<usize>§history_start_pair: usize§excluded_pairs: Vec<usize>§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for SessionView
impl Clone for SessionView
Source§fn clone(&self) -> SessionView
fn clone(&self) -> SessionView
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 SessionView
impl Debug for SessionView
Source§impl<'de> Deserialize<'de> for SessionView
impl<'de> Deserialize<'de> for SessionView
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 SessionView
impl PartialEq for SessionView
Source§impl Serialize for SessionView
impl Serialize for SessionView
impl StructuralPartialEq for SessionView
Auto Trait Implementations§
impl Freeze for SessionView
impl RefUnwindSafe for SessionView
impl Send for SessionView
impl Sync for SessionView
impl Unpin for SessionView
impl UnwindSafe for SessionView
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