pub struct MLRulesResult {
pub passed: bool,
pub param_type_issues: Vec<FormattingIssue>,
pub naming_issues: Vec<FormattingIssue>,
pub validation_issues: Vec<FormattingIssue>,
pub complexity_issues: Vec<FormattingIssue>,
pub error_handling_issues: Vec<FormattingIssue>,
}Expand description
ML-specific rules check result
Fields§
§passed: boolWhether all ML rules passed
param_type_issues: Vec<FormattingIssue>Parameter type annotation issues
naming_issues: Vec<FormattingIssue>ML naming convention issues
validation_issues: Vec<FormattingIssue>Input validation issues
complexity_issues: Vec<FormattingIssue>Function complexity issues
error_handling_issues: Vec<FormattingIssue>Error handling issues
Trait Implementations§
Source§impl Clone for MLRulesResult
impl Clone for MLRulesResult
Source§fn clone(&self) -> MLRulesResult
fn clone(&self) -> MLRulesResult
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 MLRulesResult
impl RefUnwindSafe for MLRulesResult
impl Send for MLRulesResult
impl Sync for MLRulesResult
impl Unpin for MLRulesResult
impl UnwindSafe for MLRulesResult
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