pub struct BootstrapState {
pub service: Option<ServiceVersion>,
pub gui_version: Option<String>,
pub mcp_registered: bool,
pub hooks_installed: bool,
pub path_configured: bool,
}Expand description
State persisted to ~/.spool/version.json after first-run bootstrap.
Fields§
§service: Option<ServiceVersion>Currently installed service version. None means bootstrap has not
completed yet.
gui_version: Option<String>GUI/desktop app version that ran the most recent bootstrap.
mcp_registered: boolWhether MCP integration was registered for at least one AI tool.
hooks_installed: boolWhether Claude Code hooks were installed.
path_configured: boolWhether ~/.spool/bin was added to the user’s shell PATH.
Implementations§
Source§impl BootstrapState
impl BootstrapState
Trait Implementations§
Source§impl Clone for BootstrapState
impl Clone for BootstrapState
Source§fn clone(&self) -> BootstrapState
fn clone(&self) -> BootstrapState
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 BootstrapState
impl Debug for BootstrapState
Source§impl Default for BootstrapState
impl Default for BootstrapState
Source§fn default() -> BootstrapState
fn default() -> BootstrapState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BootstrapState
impl<'de> Deserialize<'de> for BootstrapState
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
Auto Trait Implementations§
impl Freeze for BootstrapState
impl RefUnwindSafe for BootstrapState
impl Send for BootstrapState
impl Sync for BootstrapState
impl Unpin for BootstrapState
impl UnsafeUnpin for BootstrapState
impl UnwindSafe for BootstrapState
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