pub struct ChatEventAvailableReactionsChanged {
pub old_available_reactions: ChatAvailableReactions,
pub new_available_reactions: ChatAvailableReactions,
}
Expand description
The chat available reactions were changed
Fields§
§old_available_reactions: ChatAvailableReactions
Previous chat available reactions
new_available_reactions: ChatAvailableReactions
New chat available reactions
Trait Implementations§
Source§impl Clone for ChatEventAvailableReactionsChanged
impl Clone for ChatEventAvailableReactionsChanged
Source§fn clone(&self) -> ChatEventAvailableReactionsChanged
fn clone(&self) -> ChatEventAvailableReactionsChanged
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<'de> Deserialize<'de> for ChatEventAvailableReactionsChanged
impl<'de> Deserialize<'de> for ChatEventAvailableReactionsChanged
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 ChatEventAvailableReactionsChanged
impl PartialEq for ChatEventAvailableReactionsChanged
Source§fn eq(&self, other: &ChatEventAvailableReactionsChanged) -> bool
fn eq(&self, other: &ChatEventAvailableReactionsChanged) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ChatEventAvailableReactionsChanged
Auto Trait Implementations§
impl Freeze for ChatEventAvailableReactionsChanged
impl RefUnwindSafe for ChatEventAvailableReactionsChanged
impl Send for ChatEventAvailableReactionsChanged
impl Sync for ChatEventAvailableReactionsChanged
impl Unpin for ChatEventAvailableReactionsChanged
impl UnwindSafe for ChatEventAvailableReactionsChanged
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