Struct rusp::usp_record::MQTTConnectRecord
source · pub struct MQTTConnectRecord {
pub version: MQTTVersion,
pub subscribed_topic: String,
}
Fields§
§version: MQTTVersion
§subscribed_topic: String
Trait Implementations§
source§impl Clone for MQTTConnectRecord
impl Clone for MQTTConnectRecord
source§fn clone(&self) -> MQTTConnectRecord
fn clone(&self) -> MQTTConnectRecord
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 MQTTConnectRecord
impl Debug for MQTTConnectRecord
source§impl Default for MQTTConnectRecord
impl Default for MQTTConnectRecord
source§fn default() -> MQTTConnectRecord
fn default() -> MQTTConnectRecord
Returns the “default value” for a type. Read more
source§impl<'a> MessageRead<'a> for MQTTConnectRecord
impl<'a> MessageRead<'a> for MQTTConnectRecord
source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moresource§impl MessageWrite for MQTTConnectRecord
impl MessageWrite for MQTTConnectRecord
source§impl PartialEq for MQTTConnectRecord
impl PartialEq for MQTTConnectRecord
source§impl Serialize for MQTTConnectRecord
impl Serialize for MQTTConnectRecord
impl StructuralPartialEq for MQTTConnectRecord
Auto Trait Implementations§
impl Freeze for MQTTConnectRecord
impl RefUnwindSafe for MQTTConnectRecord
impl Send for MQTTConnectRecord
impl Sync for MQTTConnectRecord
impl Unpin for MQTTConnectRecord
impl UnwindSafe for MQTTConnectRecord
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)