pub struct BotApp {
pub inactive: bool,
pub request_write_access: bool,
pub has_settings: bool,
pub app: BotApp,
}Expand description
Generated from:
messages.botApp#eb50adf5 flags:# inactive:flags.0?true request_write_access:flags.1?true has_settings:flags.2?true app:BotApp = messages.BotAppFields§
§inactive: bool§request_write_access: bool§has_settings: bool§app: BotAppTrait 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 = 0xeb50adf5
const CONSTRUCTOR_ID: u32 = 0xeb50adf5
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