pub struct ReplSessionInfo {
pub command_count: usize,
pub variable_count: usize,
pub start_time: Instant,
}Expand description
REPL session information
Fields§
§command_count: usizeNumber of commands executed
variable_count: usizeNumber of variables defined
start_time: InstantSession start time
Trait Implementations§
Source§impl Clone for ReplSessionInfo
impl Clone for ReplSessionInfo
Source§fn clone(&self) -> ReplSessionInfo
fn clone(&self) -> ReplSessionInfo
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 moreAuto Trait Implementations§
impl Freeze for ReplSessionInfo
impl RefUnwindSafe for ReplSessionInfo
impl Send for ReplSessionInfo
impl Sync for ReplSessionInfo
impl Unpin for ReplSessionInfo
impl UnwindSafe for ReplSessionInfo
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