pub struct ReactionPress {
pub target: String,
pub reaction: String,
pub pressed: bool,
}Expand description
What the action of Reactions gets when a reaction button is pressed: the item the
reactions are about (set by the screen, never by the browser), the reaction (always one of
the set) and whether the user turned it on or off.
Fields§
§target: String§reaction: String§pressed: boolTrait Implementations§
Source§impl Clone for ReactionPress
impl Clone for ReactionPress
Source§impl Debug for ReactionPress
impl Debug for ReactionPress
Source§impl Default for ReactionPress
impl Default for ReactionPress
Source§impl<'de> Deserialize<'de> for ReactionPress
impl<'de> Deserialize<'de> for ReactionPress
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 ReactionPress
Source§impl PartialEq for ReactionPress
impl PartialEq for ReactionPress
Source§impl Serialize for ReactionPress
impl Serialize for ReactionPress
impl StructuralPartialEq for ReactionPress
Auto Trait Implementations§
impl Freeze for ReactionPress
impl RefUnwindSafe for ReactionPress
impl Send for ReactionPress
impl Sync for ReactionPress
impl Unpin for ReactionPress
impl UnsafeUnpin for ReactionPress
impl UnwindSafe for ReactionPress
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