pub struct AuctionBid {
pub star_count: i64,
pub bid_date: i32,
pub position: i32,
}Expand description
Describes a bid in an auction
Fields§
§star_count: i64The number of Telegram Stars that were put in the bid
bid_date: i32Point in time (Unix timestamp) when the bid was made
position: i32Position of the bid in the list of all bids
Trait Implementations§
Source§impl Clone for AuctionBid
impl Clone for AuctionBid
Source§fn clone(&self) -> AuctionBid
fn clone(&self) -> AuctionBid
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 AuctionBid
impl Debug for AuctionBid
Source§impl Default for AuctionBid
impl Default for AuctionBid
Source§fn default() -> AuctionBid
fn default() -> AuctionBid
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuctionBid
impl<'de> Deserialize<'de> for AuctionBid
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 AuctionBid
impl PartialEq for AuctionBid
Source§impl Serialize for AuctionBid
impl Serialize for AuctionBid
impl StructuralPartialEq for AuctionBid
Auto Trait Implementations§
impl Freeze for AuctionBid
impl RefUnwindSafe for AuctionBid
impl Send for AuctionBid
impl Sync for AuctionBid
impl Unpin for AuctionBid
impl UnsafeUnpin for AuctionBid
impl UnwindSafe for AuctionBid
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