pub struct ReplShutdownContract {
pub session_id: String,
pub commands_executed: usize,
}Expand description
Stable REPL shutdown contract.
Fields§
§session_id: StringSession id.
commands_executed: usizeNumber of commands executed.
Trait Implementations§
Source§impl Clone for ReplShutdownContract
impl Clone for ReplShutdownContract
Source§fn clone(&self) -> ReplShutdownContract
fn clone(&self) -> ReplShutdownContract
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 ReplShutdownContract
impl Debug for ReplShutdownContract
Source§impl PartialEq for ReplShutdownContract
impl PartialEq for ReplShutdownContract
impl Eq for ReplShutdownContract
impl StructuralPartialEq for ReplShutdownContract
Auto Trait Implementations§
impl Freeze for ReplShutdownContract
impl RefUnwindSafe for ReplShutdownContract
impl Send for ReplShutdownContract
impl Sync for ReplShutdownContract
impl Unpin for ReplShutdownContract
impl UnsafeUnpin for ReplShutdownContract
impl UnwindSafe for ReplShutdownContract
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.