pub struct AvailableReaction {
pub type: ReactionType,
pub needs_premium: bool,
}
Expand description
Represents an available reaction
Fields§
§type: ReactionType
Type of the reaction
True, if Telegram Premium is needed to send the reaction
Trait Implementations§
Source§impl Clone for AvailableReaction
impl Clone for AvailableReaction
Source§fn clone(&self) -> AvailableReaction
fn clone(&self) -> AvailableReaction
Returns a duplicate of the value. Read more
1.0.0 · 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 AvailableReaction
impl Debug for AvailableReaction
Source§impl<'de> Deserialize<'de> for AvailableReaction
impl<'de> Deserialize<'de> for AvailableReaction
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 AvailableReaction
impl PartialEq for AvailableReaction
Source§impl Serialize for AvailableReaction
impl Serialize for AvailableReaction
impl StructuralPartialEq for AvailableReaction
Auto Trait Implementations§
impl Freeze for AvailableReaction
impl RefUnwindSafe for AvailableReaction
impl Send for AvailableReaction
impl Sync for AvailableReaction
impl Unpin for AvailableReaction
impl UnwindSafe for AvailableReaction
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