pub struct TerminalHistory {
pub daemon_started_at_ms: u64,
pub entries: Vec<TerminalEntry>,
pub dropped: u64,
}Expand description
Bounded terminal history for one module, oldest retained record first.
Fields§
§daemon_started_at_ms: u64Unix milliseconds at daemon start. The history is in-memory and resets with the daemon, so an empty list only means “no exits during this incarnation”.
entries: Vec<TerminalEntry>§dropped: u64Earlier terminal exits evicted by the bounded ring.
Trait Implementations§
Source§impl Clone for TerminalHistory
impl Clone for TerminalHistory
Source§fn clone(&self) -> TerminalHistory
fn clone(&self) -> TerminalHistory
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 TerminalHistory
impl Debug for TerminalHistory
Source§impl<'de> Deserialize<'de> for TerminalHistory
impl<'de> Deserialize<'de> for TerminalHistory
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
impl Eq for TerminalHistory
Source§impl PartialEq for TerminalHistory
impl PartialEq for TerminalHistory
Source§impl Serialize for TerminalHistory
impl Serialize for TerminalHistory
impl StructuralPartialEq for TerminalHistory
Auto Trait Implementations§
impl Freeze for TerminalHistory
impl RefUnwindSafe for TerminalHistory
impl Send for TerminalHistory
impl Sync for TerminalHistory
impl Unpin for TerminalHistory
impl UnsafeUnpin for TerminalHistory
impl UnwindSafe for TerminalHistory
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