pub struct RulesValidator { /* private fields */ }Expand description
Validates workspace rules and compliance
Implementations§
Source§impl RulesValidator
impl RulesValidator
Sourcepub fn validate_all(&self) -> Result<ValidationResult>
pub fn validate_all(&self) -> Result<ValidationResult>
Validates all workspace rules
Sourcepub fn validate_project(&self, project: &Project) -> Result<ValidationResult>
pub fn validate_project(&self, project: &Project) -> Result<ValidationResult>
Validates a specific project against all rules
Sourcepub fn validate_dependency(
&self,
dep: &ProjectDependency,
) -> Result<ValidationResult>
pub fn validate_dependency( &self, dep: &ProjectDependency, ) -> Result<ValidationResult>
Validates a dependency against all rules
Trait Implementations§
Source§impl Clone for RulesValidator
impl Clone for RulesValidator
Source§fn clone(&self) -> RulesValidator
fn clone(&self) -> RulesValidator
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 moreAuto Trait Implementations§
impl Freeze for RulesValidator
impl RefUnwindSafe for RulesValidator
impl Send for RulesValidator
impl Sync for RulesValidator
impl Unpin for RulesValidator
impl UnwindSafe for RulesValidator
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