Struct gapi_grpc::google::iam::admin::v1::LintResult[][src]

pub struct LintResult {
    pub level: i32,
    pub validation_unit_name: String,
    pub severity: i32,
    pub field_name: String,
    pub location_offset: i32,
    pub debug_message: String,
}

Structured response of a single validation unit.

Fields

level: i32

The validation unit level.

validation_unit_name: String

The validation unit name, for instance “lintValidationUnits/ConditionComplexityCheck”.

severity: i32

The validation unit severity.

field_name: 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.

location_offset: i32

0-based character position of problematic construct within the object identified by field_name. Currently, this is populated only for condition expression.

debug_message: String

Human readable debug message associated with the issue.

Implementations

impl LintResult[src]

pub fn level(&self) -> Level[src]

Returns the enum value of level, or the default if the field is set to an invalid enum value.

pub fn set_level(&mut self, value: Level)[src]

Sets level to the provided enum value.

pub fn severity(&self) -> Severity[src]

Returns the enum value of severity, or the default if the field is set to an invalid enum value.

pub fn set_severity(&mut self, value: Severity)[src]

Sets severity to the provided enum value.

Trait Implementations

impl Clone for LintResult[src]

impl Debug for LintResult[src]

impl Default for LintResult[src]

impl Message for LintResult[src]

impl PartialEq<LintResult> for LintResult[src]

impl StructuralPartialEq for LintResult[src]

Auto Trait Implementations

impl RefUnwindSafe for LintResult

impl Send for LintResult

impl Sync for LintResult

impl Unpin for LintResult

impl UnwindSafe for LintResult

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]