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