Struct gapi_grpc::google::api::servicecontrol::v1::CheckError[][src]

pub struct CheckError {
    pub code: i32,
    pub subject: String,
    pub detail: String,
    pub status: Option<Status>,
}

Defines the errors to be returned in [google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors].

Fields

code: i32

The error code.

subject: String

Subject to whom this error applies. See the specific code enum for more details on this field. For example:

detail: String

Free-form text providing details on the error cause of the error.

status: Option<Status>

Contains public information about the check error. If available, status.code will be non zero and client can propagate it out as public error.

Implementations

impl CheckError[src]

pub fn code(&self) -> Code[src]

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

pub fn set_code(&mut self, value: Code)[src]

Sets code to the provided enum value.

Trait Implementations

impl Clone for CheckError[src]

impl Debug for CheckError[src]

impl Default for CheckError[src]

impl Message for CheckError[src]

impl PartialEq<CheckError> for CheckError[src]

impl StructuralPartialEq for CheckError[src]

Auto Trait Implementations

impl RefUnwindSafe for CheckError

impl Send for CheckError

impl Sync for CheckError

impl Unpin for CheckError

impl UnwindSafe for CheckError

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]