pub struct GeneralConfig {Show 13 fields
pub verbosity: u8,
pub behavior: GeneralBehaviorFlags,
pub workflow: GeneralWorkflowFlags,
pub execution: GeneralExecutionFlags,
pub developer_iters: u32,
pub reviewer_reviews: u32,
pub developer_context: u8,
pub reviewer_context: u8,
pub review_depth: String,
pub prompt_path: Option<String>,
pub templates_dir: Option<String>,
pub git_user_name: Option<String>,
pub git_user_email: Option<String>,
}Expand description
General configuration section.
Fields§
§verbosity: u8Verbosity level (0-4).
behavior: GeneralBehaviorFlagsBehavioral flags (interactive, auto-detect, strict validation)
workflow: GeneralWorkflowFlagsWorkflow automation flags (checkpoint, auto-rebase)
execution: GeneralExecutionFlagsExecution behavior flags (universal prompt, isolation mode)
developer_iters: u32Number of developer iterations.
reviewer_reviews: u32Number of reviewer re-review passes.
developer_context: u8Developer context level.
reviewer_context: u8Reviewer context level.
review_depth: StringReview depth level.
prompt_path: Option<String>Path to save last prompt.
templates_dir: Option<String>User templates directory for custom template overrides. When set, templates in this directory take priority over embedded templates.
git_user_name: Option<String>Git user name for commits (optional, falls back to git config).
git_user_email: Option<String>Git user email for commits (optional, falls back to git config).
Trait Implementations§
Source§impl Clone for GeneralConfig
impl Clone for GeneralConfig
Source§fn clone(&self) -> GeneralConfig
fn clone(&self) -> GeneralConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 GeneralConfig
impl Debug for GeneralConfig
Source§impl Default for GeneralConfig
impl Default for GeneralConfig
Source§impl<'de> Deserialize<'de> for GeneralConfigwhere
GeneralConfig: Default,
impl<'de> Deserialize<'de> for GeneralConfigwhere
GeneralConfig: 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
Auto Trait Implementations§
impl Freeze for GeneralConfig
impl RefUnwindSafe for GeneralConfig
impl Send for GeneralConfig
impl Sync for GeneralConfig
impl Unpin for GeneralConfig
impl UnwindSafe for GeneralConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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