pub struct PubSubMessage {
pub topic: String,
pub messages: Vec<ServerMessage>,
}Expand description
Message delivered by one PubSub backend.
Fields§
§topic: String§messages: Vec<ServerMessage>Trait Implementations§
Source§impl Clone for PubSubMessage
impl Clone for PubSubMessage
Source§fn clone(&self) -> PubSubMessage
fn clone(&self) -> PubSubMessage
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 PubSubMessage
impl Debug for PubSubMessage
Source§impl PartialEq for PubSubMessage
impl PartialEq for PubSubMessage
Source§fn eq(&self, other: &PubSubMessage) -> bool
fn eq(&self, other: &PubSubMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PubSubMessage
Auto Trait Implementations§
impl Freeze for PubSubMessage
impl RefUnwindSafe for PubSubMessage
impl Send for PubSubMessage
impl Sync for PubSubMessage
impl Unpin for PubSubMessage
impl UnsafeUnpin for PubSubMessage
impl UnwindSafe for PubSubMessage
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