pub struct WebPageAttributeStarGiftAuction {
pub gift: StarGift,
pub end_date: i32,
}Expand description
webPageAttributeStarGiftAuction
Generated from:
webPageAttributeStarGiftAuction#1c641c2 gift:StarGift end_date:int = WebPageAttributeFields§
§gift: StarGift§end_date: i32Trait Implementations§
Source§impl Clone for WebPageAttributeStarGiftAuction
impl Clone for WebPageAttributeStarGiftAuction
Source§fn clone(&self) -> WebPageAttributeStarGiftAuction
fn clone(&self) -> WebPageAttributeStarGiftAuction
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 Deserializable for WebPageAttributeStarGiftAuction
impl Deserializable for WebPageAttributeStarGiftAuction
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<WebPageAttributeStarGiftAuction> for WebPageAttribute
impl From<WebPageAttributeStarGiftAuction> for WebPageAttribute
Source§fn from(x: WebPageAttributeStarGiftAuction) -> Self
fn from(x: WebPageAttributeStarGiftAuction) -> Self
Converts to this type from the input type.
Source§impl Identifiable for WebPageAttributeStarGiftAuction
impl Identifiable for WebPageAttributeStarGiftAuction
Source§const CONSTRUCTOR_ID: u32 = 0x01c641c2
const CONSTRUCTOR_ID: u32 = 0x01c641c2
The constructor ID as specified in the TL schema.
Source§impl PartialEq for WebPageAttributeStarGiftAuction
impl PartialEq for WebPageAttributeStarGiftAuction
Source§fn eq(&self, other: &WebPageAttributeStarGiftAuction) -> bool
fn eq(&self, other: &WebPageAttributeStarGiftAuction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<WebPageAttribute> for WebPageAttributeStarGiftAuction
impl TryFrom<WebPageAttribute> for WebPageAttributeStarGiftAuction
Source§type Error = WebPageAttribute
type Error = WebPageAttribute
The type returned in the event of a conversion error.
impl StructuralPartialEq for WebPageAttributeStarGiftAuction
Auto Trait Implementations§
impl Freeze for WebPageAttributeStarGiftAuction
impl RefUnwindSafe for WebPageAttributeStarGiftAuction
impl Send for WebPageAttributeStarGiftAuction
impl Sync for WebPageAttributeStarGiftAuction
impl Unpin for WebPageAttributeStarGiftAuction
impl UnsafeUnpin for WebPageAttributeStarGiftAuction
impl UnwindSafe for WebPageAttributeStarGiftAuction
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