pub struct BotApp {
pub id: i64,
pub access_hash: i64,
pub short_name: String,
pub title: String,
pub description: String,
pub photo: Photo,
pub document: Option<Document>,
pub hash: i64,
}Expand description
Generated from:
botApp#95fcd1d6 flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document hash:long = BotAppFields§
§id: i64§access_hash: i64§short_name: String§title: String§description: String§photo: Photo§document: Option<Document>§hash: i64Trait Implementations§
Source§impl Deserializable for BotApp
impl Deserializable for BotApp
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 Identifiable for BotApp
impl Identifiable for BotApp
Source§const CONSTRUCTOR_ID: u32 = 0x95fcd1d6
const CONSTRUCTOR_ID: u32 = 0x95fcd1d6
The constructor ID as specified in the TL schema.
Source§impl Serializable for BotApp
impl Serializable for BotApp
impl StructuralPartialEq for BotApp
Auto Trait Implementations§
impl Freeze for BotApp
impl RefUnwindSafe for BotApp
impl Send for BotApp
impl Sync for BotApp
impl Unpin for BotApp
impl UnsafeUnpin for BotApp
impl UnwindSafe for BotApp
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