pub struct SemanticConfig {
pub check_breaking_changes: bool,
pub breaking_changes_error: bool,
pub check_visibility: bool,
pub review_new_public_api: bool,
pub complexity: ComplexityConfig,
}Expand description
Semantic delta validation configuration
Fields§
§check_breaking_changes: boolWhether to check for breaking changes
breaking_changes_error: boolWhether breaking changes are errors or warnings
check_visibility: boolWhether to check visibility changes
review_new_public_api: boolWhether new public API needs review
complexity: ComplexityConfigComplexity thresholds
Trait Implementations§
Source§impl Clone for SemanticConfig
impl Clone for SemanticConfig
Source§fn clone(&self) -> SemanticConfig
fn clone(&self) -> SemanticConfig
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 SemanticConfig
impl Debug for SemanticConfig
Source§impl Default for SemanticConfig
impl Default for SemanticConfig
Source§impl<'de> Deserialize<'de> for SemanticConfig
impl<'de> Deserialize<'de> for SemanticConfig
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 SemanticConfig
impl RefUnwindSafe for SemanticConfig
impl Send for SemanticConfig
impl Sync for SemanticConfig
impl Unpin for SemanticConfig
impl UnsafeUnpin for SemanticConfig
impl UnwindSafe for SemanticConfig
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