pub struct CodingStyle {
pub prefers_verbose_comments: bool,
pub prefers_short_functions: bool,
pub prefers_explicit_types: bool,
pub prefers_error_handling: ErrorHandlingStyle,
pub formatting_preferences: FormattingPreferences,
}Expand description
Coding style preferences for the agent
Fields§
§prefers_verbose_comments: bool§prefers_short_functions: bool§prefers_explicit_types: bool§prefers_error_handling: ErrorHandlingStyle§formatting_preferences: FormattingPreferencesTrait Implementations§
Source§impl Clone for CodingStyle
impl Clone for CodingStyle
Source§impl Debug for CodingStyle
impl Debug for CodingStyle
Source§impl<'de> Deserialize<'de> for CodingStyle
impl<'de> Deserialize<'de> for CodingStyle
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 CodingStyle
impl RefUnwindSafe for CodingStyle
impl Send for CodingStyle
impl Sync for CodingStyle
impl Unpin for CodingStyle
impl UnsafeUnpin for CodingStyle
impl UnwindSafe for CodingStyle
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