[][src]Struct google_run1::StatusCause

pub struct StatusCause {
    pub field: Option<String>,
    pub message: Option<String>,
    pub reason: Option<String>,
}

StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.

This type is not used in any activity, and only used as part of another schema.

Fields

field: Option<String>

The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.

Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items" +optional

message: Option<String>

A human-readable description of the cause of the error. This field may be presented as-is to a reader. +optional

reason: Option<String>

A machine-readable description of the cause of the error. If this value is empty there is no information available. +optional

Trait Implementations

impl Clone for StatusCause[src]

impl Debug for StatusCause[src]

impl Default for StatusCause[src]

impl<'de> Deserialize<'de> for StatusCause[src]

impl Part for StatusCause[src]

impl Serialize for StatusCause[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any