pub struct InboundReaction {
pub chat: String,
pub user: WireUser,
pub message_id: i64,
pub added: Vec<String>,
pub removed: Vec<String>,
}Expand description
Reactions added and removed on a message.
Fields§
§chat: StringChat/channel id.
user: WireUserReacting user.
message_id: i64Message being reacted to.
added: Vec<String>Reactions that appeared.
removed: Vec<String>Reactions that disappeared.
Trait Implementations§
Source§impl Clone for InboundReaction
impl Clone for InboundReaction
Source§fn clone(&self) -> InboundReaction
fn clone(&self) -> InboundReaction
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 InboundReaction
impl Debug for InboundReaction
Source§impl<'de> Deserialize<'de> for InboundReaction
impl<'de> Deserialize<'de> for InboundReaction
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 InboundReaction
impl PartialEq for InboundReaction
Source§impl Serialize for InboundReaction
impl Serialize for InboundReaction
impl StructuralPartialEq for InboundReaction
Auto Trait Implementations§
impl Freeze for InboundReaction
impl RefUnwindSafe for InboundReaction
impl Send for InboundReaction
impl Sync for InboundReaction
impl Unpin for InboundReaction
impl UnsafeUnpin for InboundReaction
impl UnwindSafe for InboundReaction
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