pub struct BotInfo {
pub name: String,
pub about: String,
pub description: String,
}Expand description
Generated from:
bots.botInfo#e8a775b0 name:string about:string description:string = bots.BotInfoFields§
§name: String§about: String§description: StringTrait Implementations§
Source§impl Deserializable for BotInfo
impl Deserializable for BotInfo
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 BotInfo
impl Identifiable for BotInfo
Source§const CONSTRUCTOR_ID: u32 = 0xe8a775b0
const CONSTRUCTOR_ID: u32 = 0xe8a775b0
The constructor ID as specified in the TL schema.
Source§impl Serializable for BotInfo
impl Serializable for BotInfo
impl StructuralPartialEq for BotInfo
Auto Trait Implementations§
impl Freeze for BotInfo
impl RefUnwindSafe for BotInfo
impl Send for BotInfo
impl Sync for BotInfo
impl Unpin for BotInfo
impl UnsafeUnpin for BotInfo
impl UnwindSafe for BotInfo
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