pub struct Subscribed {
pub id: u8,
pub topic: String<256>,
pub rc: MQTTStatusCode,
}Fields§
§id: u8Client ID. The only supported value is 0 - 1 client.
topic: String<256>The topic the client wants to publish to.
rc: MQTTStatusCodeSubscription return code.
Trait Implementations§
impl AtatResp for Subscribed
Source§impl Clone for Subscribed
impl Clone for Subscribed
Source§fn clone(&self) -> Subscribed
fn clone(&self) -> Subscribed
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Subscribed
impl Debug for Subscribed
Source§impl<'de> Deserialize<'de> for Subscribed
impl<'de> Deserialize<'de> for Subscribed
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Subscribed
impl RefUnwindSafe for Subscribed
impl Send for Subscribed
impl Sync for Subscribed
impl Unpin for Subscribed
impl UnsafeUnpin for Subscribed
impl UnwindSafe for Subscribed
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