pub struct UpdateSentPhoneCode {
pub sent_code: SentCode,
}Expand description
Fields§
§sent_code: SentCodeTrait Implementations§
Source§impl Clone for UpdateSentPhoneCode
impl Clone for UpdateSentPhoneCode
Source§fn clone(&self) -> UpdateSentPhoneCode
fn clone(&self) -> UpdateSentPhoneCode
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 UpdateSentPhoneCode
impl Debug for UpdateSentPhoneCode
Source§impl Deserializable for UpdateSentPhoneCode
impl Deserializable for UpdateSentPhoneCode
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<UpdateSentPhoneCode> for Update
impl From<UpdateSentPhoneCode> for Update
Source§fn from(x: UpdateSentPhoneCode) -> Self
fn from(x: UpdateSentPhoneCode) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateSentPhoneCode
impl Identifiable for UpdateSentPhoneCode
Source§const CONSTRUCTOR_ID: u32 = 0x504aa18f
const CONSTRUCTOR_ID: u32 = 0x504aa18f
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateSentPhoneCode
impl PartialEq for UpdateSentPhoneCode
Source§impl Serializable for UpdateSentPhoneCode
impl Serializable for UpdateSentPhoneCode
Source§impl TryFrom<Update> for UpdateSentPhoneCode
impl TryFrom<Update> for UpdateSentPhoneCode
impl StructuralPartialEq for UpdateSentPhoneCode
Auto Trait Implementations§
impl Freeze for UpdateSentPhoneCode
impl RefUnwindSafe for UpdateSentPhoneCode
impl Send for UpdateSentPhoneCode
impl Sync for UpdateSentPhoneCode
impl Unpin for UpdateSentPhoneCode
impl UnsafeUnpin for UpdateSentPhoneCode
impl UnwindSafe for UpdateSentPhoneCode
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