Struct gapi_grpc::google::api::expr::v1alpha1::IssueDetails[][src]

pub struct IssueDetails {
    pub severity: i32,
    pub position: Option<SourcePosition>,
    pub id: i64,
}

Warnings or errors in service execution are represented by [google.rpc.Status][google.rpc.Status] messages, with the following message in the details field.

Fields

severity: i32

The severity of the issue.

position: Option<SourcePosition>

Position in the source, if known.

id: i64

Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown.

Implementations

impl IssueDetails[src]

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 IssueDetails[src]

impl Debug for IssueDetails[src]

impl Default for IssueDetails[src]

impl Message for IssueDetails[src]

impl PartialEq<IssueDetails> for IssueDetails[src]

impl StructuralPartialEq for IssueDetails[src]

Auto Trait Implementations

impl RefUnwindSafe for IssueDetails

impl Send for IssueDetails

impl Sync for IssueDetails

impl Unpin for IssueDetails

impl UnwindSafe for IssueDetails

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]