pub enum Outbound {
Message(OutboundMessage),
File(OutboundFile),
Reaction(OutboundReaction),
Edit(OutboundEdit),
Delete(OutboundDelete),
Pin(OutboundPin),
Action(OutboundAction),
Ack(OutboundAck),
Error(OutboundError),
}Expand description
An action the bot performed, streamed to subscribers.
Variants§
Message(OutboundMessage)
A text message.
File(OutboundFile)
A file/media message.
Reaction(OutboundReaction)
Reaction(s) set on a message.
Edit(OutboundEdit)
A message edit.
Delete(OutboundDelete)
A message deletion.
Pin(OutboundPin)
A pin or unpin.
Action(OutboundAction)
A chat action indicator.
Ack(OutboundAck)
An injected event was accepted.
Error(OutboundError)
A driver-facing error.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Outbound
impl<'de> Deserialize<'de> for Outbound
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
impl StructuralPartialEq for Outbound
Auto Trait Implementations§
impl Freeze for Outbound
impl RefUnwindSafe for Outbound
impl Send for Outbound
impl Sync for Outbound
impl Unpin for Outbound
impl UnsafeUnpin for Outbound
impl UnwindSafe for Outbound
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