pub struct MqttMsgGen {
pub serde_alg: SerdeAlg,
pub base_topic: String,
}Expand description
Генератор сообщений MQTT-брокера
Fields§
§serde_alg: SerdeAlgАлгоритм сериализации
base_topic: StringЧасть топика, которая будет добавлена к каждому сообщению
<base_topic>/
Implementations§
Trait Implementations§
Source§impl Clone for MqttMsgGen
impl Clone for MqttMsgGen
Source§fn clone(&self) -> MqttMsgGen
fn clone(&self) -> MqttMsgGen
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 moreAuto Trait Implementations§
impl Freeze for MqttMsgGen
impl RefUnwindSafe for MqttMsgGen
impl Send for MqttMsgGen
impl Sync for MqttMsgGen
impl Unpin for MqttMsgGen
impl UnsafeUnpin for MqttMsgGen
impl UnwindSafe for MqttMsgGen
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