pub enum PlatformEvent {
Message(ChatMessage),
Disconnected,
Other(Value),
}Expand description
Platform events that ChatbotManager processes.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlatformEvent
impl RefUnwindSafe for PlatformEvent
impl Send for PlatformEvent
impl Sync for PlatformEvent
impl Unpin for PlatformEvent
impl UnsafeUnpin for PlatformEvent
impl UnwindSafe for PlatformEvent
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