pub struct AuctionStateFinished {
pub start_date: i32,
pub end_date: i32,
pub average_price: i64,
pub acquired_item_count: i32,
pub telegram_listed_item_count: i32,
pub fragment_listed_item_count: i32,
pub fragment_url: String,
}Expand description
Contains information about a finished auction
Fields§
§start_date: i32Point in time (Unix timestamp) when the auction started
end_date: i32Point in time (Unix timestamp) when the auction will be ended
average_price: i64Average price of bought items in Telegram Stars
acquired_item_count: i32The number of items that were purchased by the current user on the auction
telegram_listed_item_count: i32Number of items from the auction being resold on Telegram
fragment_listed_item_count: i32Number of items from the auction being resold on Fragment
fragment_url: StringThe HTTPS link to the Fragment for the resold items; may be empty if there are no such items being sold on Fragment
Trait Implementations§
Source§impl Clone for AuctionStateFinished
impl Clone for AuctionStateFinished
Source§fn clone(&self) -> AuctionStateFinished
fn clone(&self) -> AuctionStateFinished
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 AuctionStateFinished
impl Debug for AuctionStateFinished
Source§impl Default for AuctionStateFinished
impl Default for AuctionStateFinished
Source§fn default() -> AuctionStateFinished
fn default() -> AuctionStateFinished
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuctionStateFinished
impl<'de> Deserialize<'de> for AuctionStateFinished
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AuctionStateFinished
impl PartialEq for AuctionStateFinished
Source§impl Serialize for AuctionStateFinished
impl Serialize for AuctionStateFinished
impl StructuralPartialEq for AuctionStateFinished
Auto Trait Implementations§
impl Freeze for AuctionStateFinished
impl RefUnwindSafe for AuctionStateFinished
impl Send for AuctionStateFinished
impl Sync for AuctionStateFinished
impl Unpin for AuctionStateFinished
impl UnsafeUnpin for AuctionStateFinished
impl UnwindSafe for AuctionStateFinished
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