CodeAgentConfig

Struct CodeAgentConfig 

Source
pub struct CodeAgentConfig {
Show 49 fields pub template: TemplateAgentConfig, pub max_file_size: usize, pub max_files_per_operation: usize, pub enable_syntax_highlighting: bool, pub enable_code_formatting: bool, pub enable_code_analysis: bool, pub enable_code_refactoring: bool, pub enable_documentation: bool, pub enable_test_generation: bool, pub enable_dependency_analysis: bool, pub enable_security_analysis: bool, pub enable_performance_analysis: bool, pub enable_code_metrics: bool, pub enable_duplication_detection: bool, pub enable_complexity_analysis: bool, pub enable_coverage_analysis: bool, pub enable_style_checking: bool, pub enable_linting: bool, pub enable_type_checking: bool, pub enable_static_analysis: bool, pub enable_dynamic_analysis: bool, pub enable_profiling: bool, pub enable_debugging: bool, pub enable_tracing: bool, pub enable_logging: bool, pub enable_monitoring: bool, pub enable_metrics_collection: bool, pub enable_reporting: bool, pub enable_visualization: bool, pub enable_documentation_generation: bool, pub enable_refactoring: bool, pub enable_optimization: bool, pub enable_security: bool, pub enable_performance: bool, pub enable_quality: bool, pub enable_maintainability: bool, pub enable_reliability: bool, pub enable_portability: bool, pub enable_reusability: bool, pub enable_testability: bool, pub enable_understandability: bool, pub enable_modifiability: bool, pub enable_efficiency: bool, pub enable_effectiveness: bool, pub enable_correctness: bool, pub enable_completeness: bool, pub enable_consistency: bool, pub enable_traceability: bool, pub enable_verifiability: bool,
}

Fields§

§template: TemplateAgentConfig

Base template configuration

§max_file_size: usize

Maximum file size to process (in bytes)

§max_files_per_operation: usize

Maximum number of files to process in a single operation

§enable_syntax_highlighting: bool

Whether to enable syntax highlighting

§enable_code_formatting: bool

Whether to enable code formatting

§enable_code_analysis: bool

Whether to enable code analysis

§enable_code_refactoring: bool

Whether to enable code refactoring

§enable_documentation: bool

Whether to enable documentation generation

§enable_test_generation: bool

Whether to enable test generation

§enable_dependency_analysis: bool

Whether to enable dependency analysis

§enable_security_analysis: bool

Whether to enable security analysis

§enable_performance_analysis: bool

Whether to enable performance analysis

§enable_code_metrics: bool

Whether to enable code metrics

§enable_duplication_detection: bool

Whether to enable code duplication detection

§enable_complexity_analysis: bool

Whether to enable code complexity analysis

§enable_coverage_analysis: bool

Whether to enable code coverage analysis

§enable_style_checking: bool

Whether to enable code style checking

§enable_linting: bool

Whether to enable code linting

§enable_type_checking: bool

Whether to enable code type checking

§enable_static_analysis: bool

Whether to enable code static analysis

§enable_dynamic_analysis: bool

Whether to enable code dynamic analysis

§enable_profiling: bool

Whether to enable code profiling

§enable_debugging: bool

Whether to enable code debugging

§enable_tracing: bool

Whether to enable code tracing

§enable_logging: bool

Whether to enable code logging

§enable_monitoring: bool

Whether to enable code monitoring

§enable_metrics_collection: bool

Whether to enable code metrics collection

§enable_reporting: bool

Whether to enable code reporting

§enable_visualization: bool

Whether to enable code visualization

§enable_documentation_generation: bool

Whether to enable code documentation

§enable_refactoring: bool

Whether to enable code refactoring

§enable_optimization: bool

Whether to enable code optimization

§enable_security: bool

Whether to enable code security

§enable_performance: bool

Whether to enable code performance

§enable_quality: bool

Whether to enable code quality

§enable_maintainability: bool

Whether to enable code maintainability

§enable_reliability: bool

Whether to enable code reliability

§enable_portability: bool

Whether to enable code portability

§enable_reusability: bool

Whether to enable code reusability

§enable_testability: bool

Whether to enable code testability

§enable_understandability: bool

Whether to enable code understandability

§enable_modifiability: bool

Whether to enable code modifiability

§enable_efficiency: bool

Whether to enable code efficiency

§enable_effectiveness: bool

Whether to enable code effectiveness

§enable_correctness: bool

Whether to enable code correctness

§enable_completeness: bool

Whether to enable code completeness

§enable_consistency: bool

Whether to enable code consistency

§enable_traceability: bool

Whether to enable code traceability

§enable_verifiability: bool

Whether to enable code verifiability

Trait Implementations§

Source§

impl Clone for CodeAgentConfig

Source§

fn clone(&self) -> CodeAgentConfig

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CodeAgentConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CodeAgentConfig

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for CodeAgentConfig

Source§

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 From<Config> for CodeAgentConfig

Source§

fn from(config: Config) -> Self

Converts to this type from the input type.
Source§

impl Serialize for CodeAgentConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T