pub struct StoredReaction {
pub chat_id: InlineId,
pub message_id: InlineId,
pub user_id: InlineId,
pub reaction: String,
}Expand description
Durable current reaction state for one user and message.
Fields§
§chat_id: InlineIdInline chat ID.
message_id: InlineIdInline message ID.
user_id: InlineIdInline user ID that owns the reaction.
reaction: StringReaction emoji.
Trait Implementations§
Source§impl Clone for StoredReaction
impl Clone for StoredReaction
Source§fn clone(&self) -> StoredReaction
fn clone(&self) -> StoredReaction
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 StoredReaction
impl Debug for StoredReaction
Source§impl<'de> Deserialize<'de> for StoredReaction
impl<'de> Deserialize<'de> for StoredReaction
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 Eq for StoredReaction
Source§impl PartialEq for StoredReaction
impl PartialEq for StoredReaction
Source§impl Serialize for StoredReaction
impl Serialize for StoredReaction
impl StructuralPartialEq for StoredReaction
Auto Trait Implementations§
impl Freeze for StoredReaction
impl RefUnwindSafe for StoredReaction
impl Send for StoredReaction
impl Sync for StoredReaction
impl Unpin for StoredReaction
impl UnsafeUnpin for StoredReaction
impl UnwindSafe for StoredReaction
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