pub struct StarGiftAuctionStateFinished {
pub start_date: i32,
pub end_date: i32,
pub average_price: i64,
pub listed_count: Option<i32>,
pub fragment_listed_count: Option<i32>,
pub fragment_listed_url: Option<String>,
}Expand description
Generated from:
starGiftAuctionStateFinished#972dabbf flags:# start_date:int end_date:int average_price:long listed_count:flags.0?int fragment_listed_count:flags.1?int fragment_listed_url:flags.1?string = StarGiftAuctionStateFields§
§start_date: i32§end_date: i32§average_price: i64§listed_count: Option<i32>§fragment_listed_count: Option<i32>§fragment_listed_url: Option<String>Trait Implementations§
Source§impl Clone for StarGiftAuctionStateFinished
impl Clone for StarGiftAuctionStateFinished
Source§fn clone(&self) -> StarGiftAuctionStateFinished
fn clone(&self) -> StarGiftAuctionStateFinished
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 StarGiftAuctionStateFinished
impl Debug for StarGiftAuctionStateFinished
Source§impl Deserializable for StarGiftAuctionStateFinished
impl Deserializable for StarGiftAuctionStateFinished
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<StarGiftAuctionStateFinished> for StarGiftAuctionState
impl From<StarGiftAuctionStateFinished> for StarGiftAuctionState
Source§fn from(x: StarGiftAuctionStateFinished) -> Self
fn from(x: StarGiftAuctionStateFinished) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StarGiftAuctionStateFinished
impl Identifiable for StarGiftAuctionStateFinished
Source§const CONSTRUCTOR_ID: u32 = 0x972dabbf
const CONSTRUCTOR_ID: u32 = 0x972dabbf
The constructor ID as specified in the TL schema.
Source§impl PartialEq for StarGiftAuctionStateFinished
impl PartialEq for StarGiftAuctionStateFinished
Source§fn eq(&self, other: &StarGiftAuctionStateFinished) -> bool
fn eq(&self, other: &StarGiftAuctionStateFinished) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<StarGiftAuctionState> for StarGiftAuctionStateFinished
impl TryFrom<StarGiftAuctionState> for StarGiftAuctionStateFinished
Source§type Error = StarGiftAuctionState
type Error = StarGiftAuctionState
The type returned in the event of a conversion error.
impl StructuralPartialEq for StarGiftAuctionStateFinished
Auto Trait Implementations§
impl Freeze for StarGiftAuctionStateFinished
impl RefUnwindSafe for StarGiftAuctionStateFinished
impl Send for StarGiftAuctionStateFinished
impl Sync for StarGiftAuctionStateFinished
impl Unpin for StarGiftAuctionStateFinished
impl UnsafeUnpin for StarGiftAuctionStateFinished
impl UnwindSafe for StarGiftAuctionStateFinished
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