pub struct InstallState {
pub configured_version: Option<String>,
pub claude_telemetry_opt_out: bool,
pub telemetry_auto_enabled: Option<String>,
pub telemetry_added_interval: Option<bool>,
pub repos: BTreeMap<String, RepoState>,
}Fields§
§configured_version: Option<String>The CLI version that last ran the machine-wide step (telemetry, global
hooks). None: an install older than this field, or none at all.
claude_telemetry_opt_out: boolThe user turned Claude Code telemetry off (--no-claude-telemetry,
tracevault telemetry off, or no at the init prompt).
telemetry_auto_enabled: Option<String>The version whose upgrade step turned telemetry on without the user
asking, for status to say so. Cleared by an explicit on/off.
telemetry_added_interval: Option<bool>Whether TraceVault added the helper interval to ~/.claude/settings.json
(so turning telemetry off removes it) or found the user’s own there.
None for installs made before this was recorded.
repos: BTreeMap<String, RepoState>Per repository (primary checkout path): the version that last re-merged its hooks, and the settings files they were found in.
Trait Implementations§
Source§impl Clone for InstallState
impl Clone for InstallState
Source§impl Debug for InstallState
impl Debug for InstallState
Source§impl Default for InstallState
impl Default for InstallState
Source§impl<'de> Deserialize<'de> for InstallState
impl<'de> Deserialize<'de> for InstallState
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 InstallState
Source§impl PartialEq for InstallState
impl PartialEq for InstallState
Source§impl Serialize for InstallState
impl Serialize for InstallState
impl StructuralPartialEq for InstallState
Auto Trait Implementations§
impl Forget for InstallState
impl Freeze for InstallState
impl Move for InstallState
impl RefUnwindSafe for InstallState
impl Send for InstallState
impl Sync for InstallState
impl Unpin for InstallState
impl UnsafeUnpin for InstallState
impl UnwindSafe for InstallState
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.