pub struct TopicMessage {
pub topic: String,
pub payload: String,
pub sequence: u64,
}Expand description
A message on a topic.
Fields§
§topic: String§payload: String§sequence: u64Trait Implementations§
Source§impl Clone for TopicMessage
impl Clone for TopicMessage
Source§fn clone(&self) -> TopicMessage
fn clone(&self) -> TopicMessage
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 TopicMessage
impl RefUnwindSafe for TopicMessage
impl Send for TopicMessage
impl Sync for TopicMessage
impl Unpin for TopicMessage
impl UnsafeUnpin for TopicMessage
impl UnwindSafe for TopicMessage
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