pub struct SetCustomVerification {
pub enabled: bool,
pub bot: Option<InputUser>,
pub peer: InputPeer,
pub custom_description: Option<String>,
}Expand description
Generated from:
bots.setCustomVerification#8b89dfbd flags:# enabled:flags.1?true bot:flags.0?InputUser peer:InputPeer custom_description:flags.2?string = BoolFields§
§enabled: bool§bot: Option<InputUser>§peer: InputPeer§custom_description: Option<String>Trait Implementations§
Source§impl Clone for SetCustomVerification
impl Clone for SetCustomVerification
Source§fn clone(&self) -> SetCustomVerification
fn clone(&self) -> SetCustomVerification
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 SetCustomVerification
impl Debug for SetCustomVerification
Source§impl Identifiable for SetCustomVerification
impl Identifiable for SetCustomVerification
Source§const CONSTRUCTOR_ID: u32 = 0x8b89dfbd
const CONSTRUCTOR_ID: u32 = 0x8b89dfbd
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SetCustomVerification
impl PartialEq for SetCustomVerification
Source§impl RemoteCall for SetCustomVerification
impl RemoteCall for SetCustomVerification
Source§impl Serializable for SetCustomVerification
impl Serializable for SetCustomVerification
impl StructuralPartialEq for SetCustomVerification
Auto Trait Implementations§
impl Freeze for SetCustomVerification
impl RefUnwindSafe for SetCustomVerification
impl Send for SetCustomVerification
impl Sync for SetCustomVerification
impl Unpin for SetCustomVerification
impl UnsafeUnpin for SetCustomVerification
impl UnwindSafe for SetCustomVerification
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