pub struct BotVerifierSettings {
pub can_modify_custom_description: bool,
pub icon: i64,
pub company: String,
pub custom_description: Option<String>,
}Expand description
Generated from:
botVerifierSettings#b0cd6617 flags:# can_modify_custom_description:flags.1?true icon:long company:string custom_description:flags.0?string = BotVerifierSettingsFields§
§can_modify_custom_description: bool§icon: i64§company: String§custom_description: Option<String>Trait Implementations§
Source§impl Clone for BotVerifierSettings
impl Clone for BotVerifierSettings
Source§fn clone(&self) -> BotVerifierSettings
fn clone(&self) -> BotVerifierSettings
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 BotVerifierSettings
impl Debug for BotVerifierSettings
Source§impl Deserializable for BotVerifierSettings
impl Deserializable for BotVerifierSettings
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<BotVerifierSettings> for BotVerifierSettings
impl From<BotVerifierSettings> for BotVerifierSettings
Source§fn from(x: BotVerifierSettings) -> Self
fn from(x: BotVerifierSettings) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BotVerifierSettings
impl Identifiable for BotVerifierSettings
Source§const CONSTRUCTOR_ID: u32 = 0xb0cd6617
const CONSTRUCTOR_ID: u32 = 0xb0cd6617
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BotVerifierSettings
impl PartialEq for BotVerifierSettings
Source§impl Serializable for BotVerifierSettings
impl Serializable for BotVerifierSettings
Source§impl TryFrom<BotVerifierSettings> for BotVerifierSettings
impl TryFrom<BotVerifierSettings> for BotVerifierSettings
Source§type Error = BotVerifierSettings
type Error = BotVerifierSettings
The type returned in the event of a conversion error.
impl StructuralPartialEq for BotVerifierSettings
Auto Trait Implementations§
impl Freeze for BotVerifierSettings
impl RefUnwindSafe for BotVerifierSettings
impl Send for BotVerifierSettings
impl Sync for BotVerifierSettings
impl Unpin for BotVerifierSettings
impl UnsafeUnpin for BotVerifierSettings
impl UnwindSafe for BotVerifierSettings
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