pub struct SessionInfoInternal {
pub session_id: String,
pub file_path: Option<PathBuf>,
pub name: Option<String>,
pub message_count: usize,
}Expand description
Session info passed to commands for display.
Fields§
§session_id: String§file_path: Option<PathBuf>§name: Option<String>§message_count: usizeTrait Implementations§
Source§impl Clone for SessionInfoInternal
impl Clone for SessionInfoInternal
Source§fn clone(&self) -> SessionInfoInternal
fn clone(&self) -> SessionInfoInternal
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 moreAuto Trait Implementations§
impl Freeze for SessionInfoInternal
impl RefUnwindSafe for SessionInfoInternal
impl Send for SessionInfoInternal
impl Sync for SessionInfoInternal
impl Unpin for SessionInfoInternal
impl UnsafeUnpin for SessionInfoInternal
impl UnwindSafe for SessionInfoInternal
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