pub struct PublishCall {
pub topic: String,
pub qos: QoS,
pub retain: bool,
pub payload: Bytes,
pub properties: Option<PublishProperties>,
}
Fields§
§topic: String
§qos: QoS
§retain: bool
§payload: Bytes
§properties: Option<PublishProperties>
Trait Implementations§
Source§impl Clone for PublishCall
impl Clone for PublishCall
Source§fn clone(&self) -> PublishCall
fn clone(&self) -> PublishCall
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 moreAuto Trait Implementations§
impl !Freeze for PublishCall
impl RefUnwindSafe for PublishCall
impl Send for PublishCall
impl Sync for PublishCall
impl Unpin for PublishCall
impl UnwindSafe for PublishCall
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