pub struct BotVerification {
pub bot_id: i64,
pub icon: i64,
pub description: String,
}Expand description
Generated from:
botVerification#f93cd45c bot_id:long icon:long description:string = BotVerificationFields§
§bot_id: i64§icon: i64§description: StringTrait Implementations§
Source§impl Clone for BotVerification
impl Clone for BotVerification
Source§fn clone(&self) -> BotVerification
fn clone(&self) -> BotVerification
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 BotVerification
impl Debug for BotVerification
Source§impl Deserializable for BotVerification
impl Deserializable for BotVerification
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<BotVerification> for BotVerification
impl From<BotVerification> for BotVerification
Source§fn from(x: BotVerification) -> Self
fn from(x: BotVerification) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BotVerification
impl Identifiable for BotVerification
Source§const CONSTRUCTOR_ID: u32 = 0xf93cd45c
const CONSTRUCTOR_ID: u32 = 0xf93cd45c
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BotVerification
impl PartialEq for BotVerification
Source§impl Serializable for BotVerification
impl Serializable for BotVerification
Source§impl TryFrom<BotVerification> for BotVerification
impl TryFrom<BotVerification> for BotVerification
Source§type Error = BotVerification
type Error = BotVerification
The type returned in the event of a conversion error.
impl StructuralPartialEq for BotVerification
Auto Trait Implementations§
impl Freeze for BotVerification
impl RefUnwindSafe for BotVerification
impl Send for BotVerification
impl Sync for BotVerification
impl Unpin for BotVerification
impl UnsafeUnpin for BotVerification
impl UnwindSafe for BotVerification
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