Struct gapi_grpc::google::cloud::sql::v1beta4::ApiWarning[][src]

pub struct ApiWarning {
    pub code: i32,
    pub message: String,
    pub region: String,
}

An Admin API warning message.

Fields

code: i32

Code to uniquely identify the warning type.

message: String

The warning message.

region: String

The region name for REGION_UNREACHABLE warning.

Implementations

impl ApiWarning[src]

pub fn code(&self) -> SqlApiWarningCode[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: SqlApiWarningCode)[src]

Sets code to the provided enum value.

Trait Implementations

impl Clone for ApiWarning[src]

impl Debug for ApiWarning[src]

impl Default for ApiWarning[src]

impl Message for ApiWarning[src]

impl PartialEq<ApiWarning> for ApiWarning[src]

impl StructuralPartialEq for ApiWarning[src]

Auto Trait Implementations

impl RefUnwindSafe for ApiWarning

impl Send for ApiWarning

impl Sync for ApiWarning

impl Unpin for ApiWarning

impl UnwindSafe for ApiWarning

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]