pub struct ChatBoostUpdated {
pub chat: Chat,
pub boost: ChatBoost,
}Expand description
A boost was added or changed in a chat.
Fields§
§chat: ChatThe chat that was boosted.
boost: ChatBoostInformation about the boost.
Trait Implementations§
Source§impl Clone for ChatBoostUpdated
impl Clone for ChatBoostUpdated
Source§fn clone(&self) -> ChatBoostUpdated
fn clone(&self) -> ChatBoostUpdated
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 ChatBoostUpdated
impl Debug for ChatBoostUpdated
Source§impl<'de> Deserialize<'de> for ChatBoostUpdated
impl<'de> Deserialize<'de> for ChatBoostUpdated
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
Auto Trait Implementations§
impl Freeze for ChatBoostUpdated
impl RefUnwindSafe for ChatBoostUpdated
impl Send for ChatBoostUpdated
impl Sync for ChatBoostUpdated
impl Unpin for ChatBoostUpdated
impl UnsafeUnpin for ChatBoostUpdated
impl UnwindSafe for ChatBoostUpdated
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