pub struct SendCode {
pub phone_number: String,
pub api_id: i32,
pub api_hash: String,
pub settings: CodeSettings,
}Expand description
Generated from:
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 Deserializable for SendCode
impl Deserializable for SendCode
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 Identifiable for SendCode
impl Identifiable for SendCode
Source§const CONSTRUCTOR_ID: u32 = 0xa677244f
const CONSTRUCTOR_ID: u32 = 0xa677244f
The constructor ID as specified in the TL schema.
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