Struct gapi_grpc::google::cloud::iot::v1::MqttConfig[][src]

pub struct MqttConfig {
    pub mqtt_enabled_state: i32,
}

The configuration of MQTT for a device registry.

Fields

mqtt_enabled_state: i32

If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.

Implementations

impl MqttConfig[src]

pub fn mqtt_enabled_state(&self) -> MqttState[src]

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

pub fn set_mqtt_enabled_state(&mut self, value: MqttState)[src]

Sets mqtt_enabled_state to the provided enum value.

Trait Implementations

impl Clone for MqttConfig[src]

impl Debug for MqttConfig[src]

impl Default for MqttConfig[src]

impl Message for MqttConfig[src]

impl PartialEq<MqttConfig> for MqttConfig[src]

impl StructuralPartialEq for MqttConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for MqttConfig

impl Send for MqttConfig

impl Sync for MqttConfig

impl Unpin for MqttConfig

impl UnwindSafe for MqttConfig

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]