pub struct ChatAvailableReactionsSome {
pub reactions: Vec<ReactionType>,
pub max_reaction_count: i32,
}
Expand description
Only specific reactions are available in the chat
Fields§
§reactions: Vec<ReactionType>
The list of reactions
max_reaction_count: i32
The maximum allowed number of reactions per message; 1-11
Trait Implementations§
Source§impl Clone for ChatAvailableReactionsSome
impl Clone for ChatAvailableReactionsSome
Source§fn clone(&self) -> ChatAvailableReactionsSome
fn clone(&self) -> ChatAvailableReactionsSome
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 ChatAvailableReactionsSome
impl Debug for ChatAvailableReactionsSome
Source§impl Default for ChatAvailableReactionsSome
impl Default for ChatAvailableReactionsSome
Source§fn default() -> ChatAvailableReactionsSome
fn default() -> ChatAvailableReactionsSome
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatAvailableReactionsSome
impl<'de> Deserialize<'de> for ChatAvailableReactionsSome
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 StructuralPartialEq for ChatAvailableReactionsSome
Auto Trait Implementations§
impl Freeze for ChatAvailableReactionsSome
impl RefUnwindSafe for ChatAvailableReactionsSome
impl Send for ChatAvailableReactionsSome
impl Sync for ChatAvailableReactionsSome
impl Unpin for ChatAvailableReactionsSome
impl UnwindSafe for ChatAvailableReactionsSome
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