#[repr(C)]pub struct esp_mqtt5_unsubscribe_property_config_t {
pub is_share_subscribe: bool,
pub share_name: *const u8,
pub user_property: *mut mqtt5_user_property_list_t,
}Expand description
MQTT5 protocol unsubscribe properties configuration, more details refer to MQTT5 protocol document section 3.10.2.1
Fields§
< Whether subscribe is a shared subscription
< The name of shared subscription which is a part of $share/{share_name}/{topic}
user_property: *mut mqtt5_user_property_list_t< The handle for user property, call function esp_mqtt5_client_set_user_property to set it
Trait Implementations§
Source§impl Clone for esp_mqtt5_unsubscribe_property_config_t
impl Clone for esp_mqtt5_unsubscribe_property_config_t
Source§fn clone(&self) -> esp_mqtt5_unsubscribe_property_config_t
fn clone(&self) -> esp_mqtt5_unsubscribe_property_config_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_unsubscribe_property_config_t
Source§impl Debug for esp_mqtt5_unsubscribe_property_config_t
impl Debug for esp_mqtt5_unsubscribe_property_config_t
Source§impl Default for esp_mqtt5_unsubscribe_property_config_t
impl Default for esp_mqtt5_unsubscribe_property_config_t
Source§fn default() -> esp_mqtt5_unsubscribe_property_config_t
fn default() -> esp_mqtt5_unsubscribe_property_config_t
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Send for esp_mqtt5_unsubscribe_property_config_t
impl !Sync for esp_mqtt5_unsubscribe_property_config_t
impl Freeze for esp_mqtt5_unsubscribe_property_config_t
impl RefUnwindSafe for esp_mqtt5_unsubscribe_property_config_t
impl Unpin for esp_mqtt5_unsubscribe_property_config_t
impl UnsafeUnpin for esp_mqtt5_unsubscribe_property_config_t
impl UnwindSafe for esp_mqtt5_unsubscribe_property_config_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)