pub struct OutboundReaction {
pub chat: String,
pub message_id: i64,
pub emojis: Vec<String>,
pub is_big: bool,
}Expand description
Reaction(s) the bot set on a message.
Fields§
§chat: StringChat/channel id.
message_id: i64Target message.
emojis: Vec<String>Emojis now on the message.
is_big: boolAnimated/big variant.
Trait Implementations§
Source§impl Clone for OutboundReaction
impl Clone for OutboundReaction
Source§fn clone(&self) -> OutboundReaction
fn clone(&self) -> OutboundReaction
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 OutboundReaction
impl Debug for OutboundReaction
Source§impl<'de> Deserialize<'de> for OutboundReaction
impl<'de> Deserialize<'de> for OutboundReaction
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 OutboundReaction
impl PartialEq for OutboundReaction
Source§impl Serialize for OutboundReaction
impl Serialize for OutboundReaction
impl StructuralPartialEq for OutboundReaction
Auto Trait Implementations§
impl Freeze for OutboundReaction
impl RefUnwindSafe for OutboundReaction
impl Send for OutboundReaction
impl Sync for OutboundReaction
impl Unpin for OutboundReaction
impl UnsafeUnpin for OutboundReaction
impl UnwindSafe for OutboundReaction
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