pub struct StarGiftAuctionUserState {
pub returned: bool,
pub bid_amount: Option<i64>,
pub bid_date: Option<i32>,
pub min_bid_amount: Option<i64>,
pub bid_peer: Option<Peer>,
pub acquired_count: i32,
}Expand description
Generated from:
starGiftAuctionUserState#2eeed1c4 flags:# returned:flags.1?true bid_amount:flags.0?long bid_date:flags.0?int min_bid_amount:flags.0?long bid_peer:flags.0?Peer acquired_count:int = StarGiftAuctionUserStateFields§
§returned: bool§bid_amount: Option<i64>§bid_date: Option<i32>§min_bid_amount: Option<i64>§bid_peer: Option<Peer>§acquired_count: i32Trait Implementations§
Source§impl Clone for StarGiftAuctionUserState
impl Clone for StarGiftAuctionUserState
Source§fn clone(&self) -> StarGiftAuctionUserState
fn clone(&self) -> StarGiftAuctionUserState
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 StarGiftAuctionUserState
impl Debug for StarGiftAuctionUserState
Source§impl Deserializable for StarGiftAuctionUserState
impl Deserializable for StarGiftAuctionUserState
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<StarGiftAuctionUserState> for StarGiftAuctionUserState
impl From<StarGiftAuctionUserState> for StarGiftAuctionUserState
Source§fn from(x: StarGiftAuctionUserState) -> Self
fn from(x: StarGiftAuctionUserState) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StarGiftAuctionUserState
impl Identifiable for StarGiftAuctionUserState
Source§const CONSTRUCTOR_ID: u32 = 0x2eeed1c4
const CONSTRUCTOR_ID: u32 = 0x2eeed1c4
The constructor ID as specified in the TL schema.
Source§impl PartialEq for StarGiftAuctionUserState
impl PartialEq for StarGiftAuctionUserState
Source§impl TryFrom<StarGiftAuctionUserState> for StarGiftAuctionUserState
impl TryFrom<StarGiftAuctionUserState> for StarGiftAuctionUserState
Source§type Error = StarGiftAuctionUserState
type Error = StarGiftAuctionUserState
The type returned in the event of a conversion error.
impl StructuralPartialEq for StarGiftAuctionUserState
Auto Trait Implementations§
impl Freeze for StarGiftAuctionUserState
impl RefUnwindSafe for StarGiftAuctionUserState
impl Send for StarGiftAuctionUserState
impl Sync for StarGiftAuctionUserState
impl Unpin for StarGiftAuctionUserState
impl UnsafeUnpin for StarGiftAuctionUserState
impl UnwindSafe for StarGiftAuctionUserState
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