pub struct UpdateManagedBot {
pub user_id: i64,
pub bot_id: i64,
pub qts: i32,
}Expand description
Generated from:
updateManagedBot#4880ed9a user_id:long bot_id:long qts:int = UpdateFields§
§user_id: i64§bot_id: i64§qts: i32Trait Implementations§
Source§impl Clone for UpdateManagedBot
impl Clone for UpdateManagedBot
Source§fn clone(&self) -> UpdateManagedBot
fn clone(&self) -> UpdateManagedBot
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 UpdateManagedBot
impl Debug for UpdateManagedBot
Source§impl Deserializable for UpdateManagedBot
impl Deserializable for UpdateManagedBot
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<UpdateManagedBot> for Update
impl From<UpdateManagedBot> for Update
Source§fn from(x: UpdateManagedBot) -> Self
fn from(x: UpdateManagedBot) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateManagedBot
impl Identifiable for UpdateManagedBot
Source§const CONSTRUCTOR_ID: u32 = 0x4880ed9a
const CONSTRUCTOR_ID: u32 = 0x4880ed9a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateManagedBot
impl PartialEq for UpdateManagedBot
Source§impl Serializable for UpdateManagedBot
impl Serializable for UpdateManagedBot
Source§impl TryFrom<Update> for UpdateManagedBot
impl TryFrom<Update> for UpdateManagedBot
impl StructuralPartialEq for UpdateManagedBot
Auto Trait Implementations§
impl Freeze for UpdateManagedBot
impl RefUnwindSafe for UpdateManagedBot
impl Send for UpdateManagedBot
impl Sync for UpdateManagedBot
impl Unpin for UpdateManagedBot
impl UnsafeUnpin for UpdateManagedBot
impl UnwindSafe for UpdateManagedBot
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