pub struct Birthday {
pub day: i32,
pub month: i32,
pub year: Option<i32>,
}Expand description
Fields§
§day: i32§month: i32§year: Option<i32>Trait Implementations§
Source§impl Deserializable for Birthday
impl Deserializable for Birthday
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 Birthday
impl Identifiable for Birthday
Source§const CONSTRUCTOR_ID: u32 = 0x6c8e1e06
const CONSTRUCTOR_ID: u32 = 0x6c8e1e06
The constructor ID as specified in the TL schema.
Source§impl Serializable for Birthday
impl Serializable for Birthday
impl StructuralPartialEq for Birthday
Auto Trait Implementations§
impl Freeze for Birthday
impl RefUnwindSafe for Birthday
impl Send for Birthday
impl Sync for Birthday
impl Unpin for Birthday
impl UnsafeUnpin for Birthday
impl UnwindSafe for Birthday
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