pub struct IntentConfig {
pub validate_scope: bool,
pub require_rationale_for_large_changes: bool,
pub large_change_threshold: usize,
}Expand description
Intent validation configuration
Fields§
§validate_scope: boolWhether to validate delta matches intent
require_rationale_for_large_changes: boolWhether to require rationale for large changes
large_change_threshold: usizeThreshold for “large” changes (file count)
Trait Implementations§
Source§impl Clone for IntentConfig
impl Clone for IntentConfig
Source§fn clone(&self) -> IntentConfig
fn clone(&self) -> IntentConfig
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 IntentConfig
impl Debug for IntentConfig
Source§impl Default for IntentConfig
impl Default for IntentConfig
Source§impl<'de> Deserialize<'de> for IntentConfig
impl<'de> Deserialize<'de> for IntentConfig
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 IntentConfig
impl RefUnwindSafe for IntentConfig
impl Send for IntentConfig
impl Sync for IntentConfig
impl Unpin for IntentConfig
impl UnsafeUnpin for IntentConfig
impl UnwindSafe for IntentConfig
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