#[repr(C)]pub struct esp_mqtt5_event_property_t {
pub payload_format_indicator: bool,
pub response_topic: *mut u8,
pub response_topic_len: i32,
pub correlation_data: *mut u8,
pub correlation_data_len: u16,
pub content_type: *mut u8,
pub content_type_len: i32,
pub subscribe_id: u16,
pub user_property: *mut mqtt5_user_property_list_t,
}Expand description
MQTT5 protocol for event properties
Fields§
§payload_format_indicator: bool< Payload format of the message
response_topic: *mut u8< Response topic of the message
response_topic_len: i32< Response topic length of the message
correlation_data: *mut u8< Correlation data of the message
correlation_data_len: u16< Correlation data length of the message
content_type: *mut u8< Content type of the message
content_type_len: i32< Content type length of the message
subscribe_id: u16< Subscription identifier of the message
user_property: *mut mqtt5_user_property_list_t< The handle for user property, call function esp_mqtt5_client_delete_user_property to free the memory
Trait Implementations§
Source§impl Clone for esp_mqtt5_event_property_t
impl Clone for esp_mqtt5_event_property_t
Source§fn clone(&self) -> esp_mqtt5_event_property_t
fn clone(&self) -> esp_mqtt5_event_property_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for esp_mqtt5_event_property_t
Source§impl Debug for esp_mqtt5_event_property_t
impl Debug for esp_mqtt5_event_property_t
Source§impl Default for esp_mqtt5_event_property_t
impl Default for esp_mqtt5_event_property_t
Source§fn default() -> esp_mqtt5_event_property_t
fn default() -> esp_mqtt5_event_property_t
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Send for esp_mqtt5_event_property_t
impl !Sync for esp_mqtt5_event_property_t
impl Freeze for esp_mqtt5_event_property_t
impl RefUnwindSafe for esp_mqtt5_event_property_t
impl Unpin for esp_mqtt5_event_property_t
impl UnsafeUnpin for esp_mqtt5_event_property_t
impl UnwindSafe for esp_mqtt5_event_property_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)