pub struct UpdateBotChatBoost {
pub peer: Peer,
pub boost: Boost,
pub qts: i32,
}Expand description
Generated from:
updateBotChatBoost#904dd49c peer:Peer boost:Boost qts:int = UpdateFields§
§peer: Peer§boost: Boost§qts: i32Trait Implementations§
Source§impl Clone for UpdateBotChatBoost
impl Clone for UpdateBotChatBoost
Source§fn clone(&self) -> UpdateBotChatBoost
fn clone(&self) -> UpdateBotChatBoost
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 UpdateBotChatBoost
impl Debug for UpdateBotChatBoost
Source§impl Deserializable for UpdateBotChatBoost
impl Deserializable for UpdateBotChatBoost
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<UpdateBotChatBoost> for Update
impl From<UpdateBotChatBoost> for Update
Source§fn from(x: UpdateBotChatBoost) -> Self
fn from(x: UpdateBotChatBoost) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateBotChatBoost
impl Identifiable for UpdateBotChatBoost
Source§const CONSTRUCTOR_ID: u32 = 0x904dd49c
const CONSTRUCTOR_ID: u32 = 0x904dd49c
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateBotChatBoost
impl PartialEq for UpdateBotChatBoost
Source§impl Serializable for UpdateBotChatBoost
impl Serializable for UpdateBotChatBoost
Source§impl TryFrom<Update> for UpdateBotChatBoost
impl TryFrom<Update> for UpdateBotChatBoost
impl StructuralPartialEq for UpdateBotChatBoost
Auto Trait Implementations§
impl Freeze for UpdateBotChatBoost
impl RefUnwindSafe for UpdateBotChatBoost
impl Send for UpdateBotChatBoost
impl Sync for UpdateBotChatBoost
impl Unpin for UpdateBotChatBoost
impl UnsafeUnpin for UpdateBotChatBoost
impl UnwindSafe for UpdateBotChatBoost
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