[][src]Enum gcp_client::google::cloud::iot::v1::GatewayAuthMethod

#[repr(i32)]pub enum GatewayAuthMethod {
    Unspecified,
    AssociationOnly,
    DeviceAuthTokenOnly,
    AssociationAndDeviceAuthToken,
}

The gateway authorization/authentication method. This setting determines how Cloud IoT Core authorizes/authenticate devices to access the gateway.

Variants

Unspecified

No authentication/authorization method specified. No devices are allowed to access the gateway.

AssociationOnly

The device is authenticated through the gateway association only. Device credentials are ignored even if provided.

DeviceAuthTokenOnly

The device is authenticated through its own credentials. Gateway association is not checked.

AssociationAndDeviceAuthToken

The device is authenticated through both device credentials and gateway association. The device must be bound to the gateway and must provide its own credentials.

Implementations

impl GatewayAuthMethod[src]

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

Returns true if value is a variant of GatewayAuthMethod.

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

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

Trait Implementations

impl Clone for GatewayAuthMethod[src]

impl Copy for GatewayAuthMethod[src]

impl Debug for GatewayAuthMethod[src]

impl Default for GatewayAuthMethod[src]

impl Eq for GatewayAuthMethod[src]

impl From<GatewayAuthMethod> for i32[src]

impl Hash for GatewayAuthMethod[src]

impl Ord for GatewayAuthMethod[src]

impl PartialEq<GatewayAuthMethod> for GatewayAuthMethod[src]

impl PartialOrd<GatewayAuthMethod> for GatewayAuthMethod[src]

impl StructuralEq for GatewayAuthMethod[src]

impl StructuralPartialEq for GatewayAuthMethod[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<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, 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>, 

impl<T> WithSubscriber for T[src]