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