esp_idf_sys

Type Alias esp_mqtt_topic_t

Source
pub type esp_mqtt_topic_t = topic_t;
Expand description

Topic definition struct

Aliased Type§

struct esp_mqtt_topic_t {
    pub filter: *const i8,
    pub qos: i32,
}

Fields§

§filter: *const i8

< Topic filter to subscribe

§qos: i32

< Max QoS level of the subscription

Trait Implementations

Source§

impl Clone for topic_t

Source§

fn clone(&self) -> topic_t

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for topic_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for topic_t

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for topic_t