Struct gapi_grpc::google::devtools::clouddebugger::v2::StatusMessage[][src]

pub struct StatusMessage {
    pub is_error: bool,
    pub refers_to: i32,
    pub description: Option<FormatMessage>,
}

Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message Location not found.

Fields

is_error: bool

Distinguishes errors from informational messages.

refers_to: i32

Reference to which the message applies.

description: Option<FormatMessage>

Status message text.

Implementations

impl StatusMessage[src]

pub fn refers_to(&self) -> Reference[src]

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

pub fn set_refers_to(&mut self, value: Reference)[src]

Sets refers_to to the provided enum value.

Trait Implementations

impl Clone for StatusMessage[src]

impl Debug for StatusMessage[src]

impl Default for StatusMessage[src]

impl Message for StatusMessage[src]

impl PartialEq<StatusMessage> for StatusMessage[src]

impl StructuralPartialEq for StatusMessage[src]

Auto Trait Implementations

impl RefUnwindSafe for StatusMessage

impl Send for StatusMessage

impl Sync for StatusMessage

impl Unpin for StatusMessage

impl UnwindSafe for StatusMessage

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]