pub struct UpdateChatBoost {
pub chat_id: i64,
pub boost: ChatBoost,
}
Expand description
A chat boost has changed; for bots only
Fields§
§chat_id: i64
Chat identifier
boost: ChatBoost
New information about the boost
Trait Implementations§
Source§impl Clone for UpdateChatBoost
impl Clone for UpdateChatBoost
Source§fn clone(&self) -> UpdateChatBoost
fn clone(&self) -> UpdateChatBoost
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 UpdateChatBoost
impl Debug for UpdateChatBoost
Source§impl<'de> Deserialize<'de> for UpdateChatBoost
impl<'de> Deserialize<'de> for UpdateChatBoost
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 UpdateChatBoost
impl PartialEq for UpdateChatBoost
Source§impl Serialize for UpdateChatBoost
impl Serialize for UpdateChatBoost
impl StructuralPartialEq for UpdateChatBoost
Auto Trait Implementations§
impl Freeze for UpdateChatBoost
impl RefUnwindSafe for UpdateChatBoost
impl Send for UpdateChatBoost
impl Sync for UpdateChatBoost
impl Unpin for UpdateChatBoost
impl UnwindSafe for UpdateChatBoost
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