pub struct SendCode {
pub phone_number: String,
pub api_id: i32,
pub api_hash: String,
pub settings: CodeSettings,
}Expand description
Generated from the following TL definition:
auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCodeFields§
§phone_number: String§api_id: i32§api_hash: String§settings: CodeSettingsTrait Implementations§
Source§impl Identifiable for SendCode
impl Identifiable for SendCode
Source§const CONSTRUCTOR_ID: u32 = 2792825935
const CONSTRUCTOR_ID: u32 = 2792825935
The unique identifier for the type.
Source§impl RemoteCall for SendCode
impl RemoteCall for SendCode
Source§impl Serializable for SendCode
impl Serializable for SendCode
impl StructuralPartialEq for SendCode
Auto Trait Implementations§
impl Freeze for SendCode
impl RefUnwindSafe for SendCode
impl Send for SendCode
impl Sync for SendCode
impl Unpin for SendCode
impl UnsafeUnpin for SendCode
impl UnwindSafe for SendCode
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