pub struct InstallRequest {
pub root: PathBuf,
pub host: HostKind,
pub mode: HookMode,
pub code_system_graph_binary: PathBuf,
pub database: PathBuf,
pub workspace: String,
pub repository: String,
pub codegraph_enabled: bool,
}Expand description
Complete request for installing, inspecting, or removing one host integration.
Fields§
§root: PathBufRepository worktree root in which host files are managed.
host: HostKindHost whose documented project configuration is targeted.
mode: HookModeAdvisory or strict pre-commit behavior.
code_system_graph_binary: PathBufCode System Graph executable used by the strict gate and to locate its sibling hook runtime.
database: PathBufCode System Graph SQLite database passed to strict staged-change analysis.
workspace: StringRegistered Code System Graph workspace name.
repository: StringRegistered repository alias for the selected root.
codegraph_enabled: boolWhether installed guidance may recommend CodeGraph-backed local exploration.
Trait Implementations§
Source§impl Clone for InstallRequest
impl Clone for InstallRequest
Source§fn clone(&self) -> InstallRequest
fn clone(&self) -> InstallRequest
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 InstallRequest
impl Debug for InstallRequest
Source§impl<'de> Deserialize<'de> for InstallRequest
impl<'de> Deserialize<'de> for InstallRequest
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 InstallRequest
Source§impl JsonSchema for InstallRequest
impl JsonSchema for InstallRequest
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 InstallRequest
impl PartialEq for InstallRequest
Source§impl Serialize for InstallRequest
impl Serialize for InstallRequest
impl StructuralPartialEq for InstallRequest
Auto Trait Implementations§
impl Freeze for InstallRequest
impl RefUnwindSafe for InstallRequest
impl Send for InstallRequest
impl Sync for InstallRequest
impl Unpin for InstallRequest
impl UnsafeUnpin for InstallRequest
impl UnwindSafe for InstallRequest
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