pub struct AgentSnapshot {
pub id: &'static str,
pub display_name: &'static str,
pub status: InstallStatus,
pub sessions: Option<u64>,
pub last_used: Option<DateTime<Utc>>,
pub score: f64,
pub paths_checked: Vec<PathBuf>,
}Expand description
One row in the detector’s report.
Fields§
§id: &'static str§display_name: &'static str§status: InstallStatus§sessions: Option<u64>§last_used: Option<DateTime<Utc>>§score: f64§paths_checked: Vec<PathBuf>Trait Implementations§
Source§impl Clone for AgentSnapshot
impl Clone for AgentSnapshot
Source§fn clone(&self) -> AgentSnapshot
fn clone(&self) -> AgentSnapshot
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 AgentSnapshot
impl Debug for AgentSnapshot
Auto Trait Implementations§
impl Freeze for AgentSnapshot
impl RefUnwindSafe for AgentSnapshot
impl Send for AgentSnapshot
impl Sync for AgentSnapshot
impl Unpin for AgentSnapshot
impl UnsafeUnpin for AgentSnapshot
impl UnwindSafe for AgentSnapshot
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