pub struct WorkspaceToolsConfig {
pub workspace_read: bool,
pub workspace_todowrite: bool,
pub workspace_edit: bool,
pub workspace_apply_patch: bool,
}Expand description
Configuration for workspace-local file and todo tools.
Fields§
§workspace_read: boolEnable the workspace_read tool.
workspace_todowrite: boolEnable the workspace_todowrite tool.
workspace_edit: boolEnable the workspace_edit tool.
workspace_apply_patch: boolEnable the workspace_apply_patch tool.
Trait Implementations§
Source§impl Clone for WorkspaceToolsConfig
impl Clone for WorkspaceToolsConfig
Source§fn clone(&self) -> WorkspaceToolsConfig
fn clone(&self) -> WorkspaceToolsConfig
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 WorkspaceToolsConfig
impl Debug for WorkspaceToolsConfig
Source§impl Default for WorkspaceToolsConfig
impl Default for WorkspaceToolsConfig
Source§fn default() -> WorkspaceToolsConfig
fn default() -> WorkspaceToolsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkspaceToolsConfigwhere
WorkspaceToolsConfig: Default,
impl<'de> Deserialize<'de> for WorkspaceToolsConfigwhere
WorkspaceToolsConfig: Default,
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
Source§impl JsonSchema for WorkspaceToolsConfig
impl JsonSchema for WorkspaceToolsConfig
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 moreAuto Trait Implementations§
impl Freeze for WorkspaceToolsConfig
impl RefUnwindSafe for WorkspaceToolsConfig
impl Send for WorkspaceToolsConfig
impl Sync for WorkspaceToolsConfig
impl Unpin for WorkspaceToolsConfig
impl UnsafeUnpin for WorkspaceToolsConfig
impl UnwindSafe for WorkspaceToolsConfig
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