[][src]Struct gcp_client::google::cloud::iot::v1::GatewayConfig

pub struct GatewayConfig {
    pub gateway_type: i32,
    pub gateway_auth_method: i32,
    pub last_accessed_gateway_id: String,
    pub last_accessed_gateway_time: Option<Timestamp>,
}

Gateway-related configuration and state.

Fields

gateway_type: i32

Indicates whether the device is a gateway.

gateway_auth_method: i32

Indicates how to authorize and/or authenticate devices to access the gateway.

last_accessed_gateway_id: String

[Output only] The ID of the gateway the device accessed most recently.

last_accessed_gateway_time: Option<Timestamp>

[Output only] The most recent time at which the device accessed the gateway specified in last_accessed_gateway.

Implementations

impl GatewayConfig[src]

pub fn gateway_type(&self) -> GatewayType[src]

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

pub fn set_gateway_type(&mut self, value: GatewayType)[src]

Sets gateway_type to the provided enum value.

pub fn gateway_auth_method(&self) -> GatewayAuthMethod[src]

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

pub fn set_gateway_auth_method(&mut self, value: GatewayAuthMethod)[src]

Sets gateway_auth_method to the provided enum value.

Trait Implementations

impl Clone for GatewayConfig[src]

impl Debug for GatewayConfig[src]

impl Default for GatewayConfig[src]

impl Message for GatewayConfig[src]

impl PartialEq<GatewayConfig> for GatewayConfig[src]

impl StructuralPartialEq for GatewayConfig[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> 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]