Enum gapi_grpc::google::cloud::osconfig::v1alpha::os_policy_assignment_operation_metadata::ApiMethod[][src]

#[repr(i32)]pub enum ApiMethod {
    Unspecified,
    Create,
    Update,
    Delete,
}

The OS policy assignment API method.

Variants

Unspecified

Invalid value

Create

Create OS policy assignment API method

Update

Update OS policy assignment API method

Delete

Delete OS policy assignment API method

Implementations

impl ApiMethod[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of ApiMethod.

pub fn from_i32(value: i32) -> Option<ApiMethod>[src]

Converts an i32 to a ApiMethod, or None if value is not a valid variant.

Trait Implementations

impl Clone for ApiMethod[src]

impl Copy for ApiMethod[src]

impl Debug for ApiMethod[src]

impl Default for ApiMethod[src]

impl Eq for ApiMethod[src]

impl From<ApiMethod> for i32[src]

impl Hash for ApiMethod[src]

impl Ord for ApiMethod[src]

impl PartialEq<ApiMethod> for ApiMethod[src]

impl PartialOrd<ApiMethod> for ApiMethod[src]

impl StructuralEq for ApiMethod[src]

impl StructuralPartialEq for ApiMethod[src]

Auto Trait Implementations

impl RefUnwindSafe for ApiMethod

impl Send for ApiMethod

impl Sync for ApiMethod

impl Unpin for ApiMethod

impl UnwindSafe for ApiMethod

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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]