pub struct MessageOut {
pub channels: Option<Vec<String>>,
pub event_id: Option<String>,
pub event_type: String,
pub id: String,
pub payload: Value,
pub tags: Option<Vec<String>>,
pub timestamp: String,
}
Fields§
§channels: Option<Vec<String>>
List of free-form identifiers that endpoints can filter by
event_id: Option<String>
Optional unique identifier for the message
event_type: String
The event type’s name
id: String
The msg’s ID
payload: Value
§timestamp: String
Implementations§
Source§impl MessageOut
impl MessageOut
Trait Implementations§
Source§impl Clone for MessageOut
impl Clone for MessageOut
Source§fn clone(&self) -> MessageOut
fn clone(&self) -> MessageOut
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 MessageOut
impl Debug for MessageOut
Source§impl Default for MessageOut
impl Default for MessageOut
Source§fn default() -> MessageOut
fn default() -> MessageOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageOut
impl<'de> Deserialize<'de> for MessageOut
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MessageOut
impl PartialEq for MessageOut
Source§impl Serialize for MessageOut
impl Serialize for MessageOut
impl StructuralPartialEq for MessageOut
Auto Trait Implementations§
impl Freeze for MessageOut
impl RefUnwindSafe for MessageOut
impl Send for MessageOut
impl Sync for MessageOut
impl Unpin for MessageOut
impl UnwindSafe for MessageOut
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