Struct gapi_grpc::google::devtools::resultstore::v2::StatusAttributes[][src]

pub struct StatusAttributes {
    pub status: i32,
    pub description: String,
}

Describes the status of a resource in both enum and string form. Only use description when conveying additional info not captured in the enum name.

Fields

status: i32

Enum representation of the status.

description: String

A longer description about the status.

Implementations

impl StatusAttributes[src]

pub fn status(&self) -> Status[src]

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

pub fn set_status(&mut self, value: Status)[src]

Sets status to the provided enum value.

Trait Implementations

impl Clone for StatusAttributes[src]

impl Debug for StatusAttributes[src]

impl Default for StatusAttributes[src]

impl Message for StatusAttributes[src]

impl PartialEq<StatusAttributes> for StatusAttributes[src]

impl StructuralPartialEq for StatusAttributes[src]

Auto Trait Implementations

impl RefUnwindSafe for StatusAttributes

impl Send for StatusAttributes

impl Sync for StatusAttributes

impl Unpin for StatusAttributes

impl UnwindSafe for StatusAttributes

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]