Struct libmosquitto_sys::libmosquitto_will
source · #[repr(C)]pub struct libmosquitto_will {
pub topic: *mut c_char,
pub payload: *mut c_void,
pub payloadlen: c_int,
pub qos: c_int,
pub retain: bool,
}
Fields§
§topic: *mut c_char
§payload: *mut c_void
§payloadlen: c_int
§qos: c_int
§retain: bool
Trait Implementations§
source§impl Clone for libmosquitto_will
impl Clone for libmosquitto_will
source§fn clone(&self) -> libmosquitto_will
fn clone(&self) -> libmosquitto_will
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for libmosquitto_will
impl Debug for libmosquitto_will
impl Copy for libmosquitto_will
Auto Trait Implementations§
impl RefUnwindSafe for libmosquitto_will
impl !Send for libmosquitto_will
impl !Sync for libmosquitto_will
impl Unpin for libmosquitto_will
impl UnwindSafe for libmosquitto_will
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more