pub struct PayloadFormatIndicator { /* private fields */ }
Implementations§
Source§impl PayloadFormatIndicator
impl PayloadFormatIndicator
pub fn id(&self) -> PropertyId
Source§impl PayloadFormatIndicator
impl PayloadFormatIndicator
pub fn new(v: PayloadFormat) -> Result<Self, MqttError>
Trait Implementations§
Source§impl Clone for PayloadFormatIndicator
impl Clone for PayloadFormatIndicator
Source§fn clone(&self) -> PayloadFormatIndicator
fn clone(&self) -> PayloadFormatIndicator
Returns a duplicate 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 PayloadFormatIndicator
impl Debug for PayloadFormatIndicator
Source§impl Display for PayloadFormatIndicator
impl Display for PayloadFormatIndicator
Source§impl From<PayloadFormatIndicator> for Property
impl From<PayloadFormatIndicator> for Property
Source§fn from(v: PayloadFormatIndicator) -> Self
fn from(v: PayloadFormatIndicator) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PayloadFormatIndicator
impl PartialEq for PayloadFormatIndicator
Source§impl Serialize for PayloadFormatIndicator
impl Serialize for PayloadFormatIndicator
impl Eq for PayloadFormatIndicator
impl StructuralPartialEq for PayloadFormatIndicator
Auto Trait Implementations§
impl Freeze for PayloadFormatIndicator
impl RefUnwindSafe for PayloadFormatIndicator
impl Send for PayloadFormatIndicator
impl Sync for PayloadFormatIndicator
impl Unpin for PayloadFormatIndicator
impl UnwindSafe for PayloadFormatIndicator
Blanket Implementations§
Source§impl<T> AsConcrete<T> for T
impl<T> AsConcrete<T> for T
fn as_concrete(&self) -> Option<&T>
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.