pub struct EmptyStreak {
pub client: String,
pub sessions: usize,
}Expand description
A client whose last SESSIONS_PER_CLIENT sessions all were empty.
Fields§
§client: StringThe client id of the handshake (pi, claude-code, …).
sessions: usizeImplementations§
Source§impl EmptyStreak
impl EmptyStreak
Sourcepub fn target(&self) -> Option<SetupTarget>
pub fn target(&self) -> Option<SetupTarget>
The client’s init --agent target (Some for every recorded client).
Trait Implementations§
Source§impl Clone for EmptyStreak
impl Clone for EmptyStreak
Source§impl Debug for EmptyStreak
impl Debug for EmptyStreak
impl Eq for EmptyStreak
Source§impl PartialEq for EmptyStreak
impl PartialEq for EmptyStreak
impl StructuralPartialEq for EmptyStreak
Auto Trait Implementations§
impl Forget for EmptyStreak
impl Freeze for EmptyStreak
impl Move for EmptyStreak
impl RefUnwindSafe for EmptyStreak
impl Send for EmptyStreak
impl Sync for EmptyStreak
impl Unpin for EmptyStreak
impl UnsafeUnpin for EmptyStreak
impl UnwindSafe for EmptyStreak
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