pub struct LintResult {
pub debug_message: Option<String>,
pub field_name: Option<String>,
pub level: Option<String>,
pub location_offset: Option<i32>,
pub severity: Option<String>,
pub validation_unit_name: Option<String>,
}Expand description
Structured response of a single validation unit.
This type is not used in any activity, and only used as part of another schema.
Fields§
§debug_message: Option<String>Human readable debug message associated with the issue.
field_name: Option<String>The name of the field for which this lint result is about. For nested messages field_name consists of names of the embedded fields separated by period character. The top-level qualifier is the input object to lint in the request. For example, the field_name value condition.expression identifies a lint result for the expression field of the provided condition.
level: Option<String>The validation unit level.
location_offset: Option<i32>0-based character position of problematic construct within the object identified by field_name. Currently, this is populated only for condition expression.
severity: Option<String>The validation unit severity.
validation_unit_name: Option<String>The validation unit name, for instance “lintValidationUnits/ConditionComplexityCheck”.
Trait Implementations§
Source§impl Clone for LintResult
impl Clone for LintResult
Source§fn clone(&self) -> LintResult
fn clone(&self) -> LintResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LintResult
impl Debug for LintResult
Source§impl Default for LintResult
impl Default for LintResult
Source§fn default() -> LintResult
fn default() -> LintResult
Source§impl<'de> Deserialize<'de> for LintResult
impl<'de> Deserialize<'de> for LintResult
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>,
Source§impl Serialize for LintResult
impl Serialize for LintResult
impl Part for LintResult
Auto Trait Implementations§
impl Freeze for LintResult
impl RefUnwindSafe for LintResult
impl Send for LintResult
impl Sync for LintResult
impl Unpin for LintResult
impl UnwindSafe for LintResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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