pub struct DraftMessageEmpty {
pub date: Option<i32>,
}Expand description
Generated from:
draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessageFields§
§date: Option<i32>Trait Implementations§
Source§impl Clone for DraftMessageEmpty
impl Clone for DraftMessageEmpty
Source§fn clone(&self) -> DraftMessageEmpty
fn clone(&self) -> DraftMessageEmpty
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 DraftMessageEmpty
impl Debug for DraftMessageEmpty
Source§impl Deserializable for DraftMessageEmpty
impl Deserializable for DraftMessageEmpty
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<DraftMessageEmpty> for DraftMessage
impl From<DraftMessageEmpty> for DraftMessage
Source§fn from(x: DraftMessageEmpty) -> Self
fn from(x: DraftMessageEmpty) -> Self
Converts to this type from the input type.
Source§impl Identifiable for DraftMessageEmpty
impl Identifiable for DraftMessageEmpty
Source§const CONSTRUCTOR_ID: u32 = 0x1b0c841a
const CONSTRUCTOR_ID: u32 = 0x1b0c841a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DraftMessageEmpty
impl PartialEq for DraftMessageEmpty
Source§impl Serializable for DraftMessageEmpty
impl Serializable for DraftMessageEmpty
Source§impl TryFrom<DraftMessage> for DraftMessageEmpty
impl TryFrom<DraftMessage> for DraftMessageEmpty
Source§type Error = DraftMessage
type Error = DraftMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for DraftMessageEmpty
Auto Trait Implementations§
impl Freeze for DraftMessageEmpty
impl RefUnwindSafe for DraftMessageEmpty
impl Send for DraftMessageEmpty
impl Sync for DraftMessageEmpty
impl Unpin for DraftMessageEmpty
impl UnsafeUnpin for DraftMessageEmpty
impl UnwindSafe for DraftMessageEmpty
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