pub struct ContactBirthday {
pub contact_id: i64,
pub birthday: Birthday,
}Expand description
Generated from:
contactBirthday#1d998733 contact_id:long birthday:Birthday = ContactBirthdayFields§
§contact_id: i64§birthday: BirthdayTrait Implementations§
Source§impl Clone for ContactBirthday
impl Clone for ContactBirthday
Source§fn clone(&self) -> ContactBirthday
fn clone(&self) -> ContactBirthday
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 ContactBirthday
impl Debug for ContactBirthday
Source§impl Deserializable for ContactBirthday
impl Deserializable for ContactBirthday
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<ContactBirthday> for ContactBirthday
impl From<ContactBirthday> for ContactBirthday
Source§fn from(x: ContactBirthday) -> Self
fn from(x: ContactBirthday) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ContactBirthday
impl Identifiable for ContactBirthday
Source§const CONSTRUCTOR_ID: u32 = 0x1d998733
const CONSTRUCTOR_ID: u32 = 0x1d998733
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ContactBirthday
impl PartialEq for ContactBirthday
Source§impl Serializable for ContactBirthday
impl Serializable for ContactBirthday
Source§impl TryFrom<ContactBirthday> for ContactBirthday
impl TryFrom<ContactBirthday> for ContactBirthday
Source§type Error = ContactBirthday
type Error = ContactBirthday
The type returned in the event of a conversion error.
impl StructuralPartialEq for ContactBirthday
Auto Trait Implementations§
impl Freeze for ContactBirthday
impl RefUnwindSafe for ContactBirthday
impl Send for ContactBirthday
impl Sync for ContactBirthday
impl Unpin for ContactBirthday
impl UnsafeUnpin for ContactBirthday
impl UnwindSafe for ContactBirthday
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