pub struct HookStatus {
pub installed: bool,
pub routing_installed: bool,
pub strict_gate_installed: bool,
pub host_file: PathBuf,
pub state_file: PathBuf,
pub warnings: Vec<String>,
pub limitation: Option<String>,
}Expand description
Current state of one host integration.
Fields§
§installed: boolWhether all files required by the requested mode are present and marker-owned.
routing_installed: boolWhether the host routing component is installed.
strict_gate_installed: boolWhether the strict pre-commit component is installed.
host_file: PathBufHost configuration or guidance path.
state_file: PathBufState path used for installation metadata and runtime deduplication.
warnings: Vec<String>Non-fatal duplicate product-hook observations.
limitation: Option<String>Host limitation when a guidance file is used instead of a prompt hook.
Trait Implementations§
Source§impl Clone for HookStatus
impl Clone for HookStatus
Source§fn clone(&self) -> HookStatus
fn clone(&self) -> HookStatus
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 HookStatus
impl Debug for HookStatus
Source§impl<'de> Deserialize<'de> for HookStatus
impl<'de> Deserialize<'de> for HookStatus
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 HookStatus
Source§impl JsonSchema for HookStatus
impl JsonSchema for HookStatus
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for HookStatus
impl PartialEq for HookStatus
Source§impl Serialize for HookStatus
impl Serialize for HookStatus
impl StructuralPartialEq for HookStatus
Auto Trait Implementations§
impl Freeze for HookStatus
impl RefUnwindSafe for HookStatus
impl Send for HookStatus
impl Sync for HookStatus
impl Unpin for HookStatus
impl UnsafeUnpin for HookStatus
impl UnwindSafe for HookStatus
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