pub struct BotVerification {
pub bot_user_id: i64,
pub icon_custom_emoji_id: i64,
pub custom_description: FormattedText,
}Expand description
Describes verification status provided by a bot
Fields§
§bot_user_id: i64Identifier of the bot that provided the verification
icon_custom_emoji_id: i64Identifier of the custom emoji that is used as the verification sign
custom_description: FormattedTextCustom description of verification reason set by the bot. Can contain only Mention, Hashtag, Cashtag, PhoneNumber, BankCardNumber, Url, and EmailAddress entities
Trait 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 Default for BotVerification
impl Default for BotVerification
Source§fn default() -> BotVerification
fn default() -> BotVerification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BotVerification
impl<'de> Deserialize<'de> for BotVerification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BotVerification
impl PartialEq for BotVerification
Source§impl Serialize for BotVerification
impl Serialize for BotVerification
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