pub struct MessageActionPrizeStars {
pub unclaimed: bool,
pub stars: i64,
pub transaction_id: String,
pub boost_peer: Peer,
pub giveaway_msg_id: i32,
}Expand description
Generated from:
messageActionPrizeStars#b00c47a2 flags:# unclaimed:flags.0?true stars:long transaction_id:string boost_peer:Peer giveaway_msg_id:int = MessageActionFields§
§unclaimed: bool§stars: i64§transaction_id: String§boost_peer: Peer§giveaway_msg_id: i32Trait Implementations§
Source§impl Clone for MessageActionPrizeStars
impl Clone for MessageActionPrizeStars
Source§fn clone(&self) -> MessageActionPrizeStars
fn clone(&self) -> MessageActionPrizeStars
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 MessageActionPrizeStars
impl Debug for MessageActionPrizeStars
Source§impl Deserializable for MessageActionPrizeStars
impl Deserializable for MessageActionPrizeStars
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<MessageActionPrizeStars> for MessageAction
impl From<MessageActionPrizeStars> for MessageAction
Source§fn from(x: MessageActionPrizeStars) -> Self
fn from(x: MessageActionPrizeStars) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageActionPrizeStars
impl Identifiable for MessageActionPrizeStars
Source§const CONSTRUCTOR_ID: u32 = 0xb00c47a2
const CONSTRUCTOR_ID: u32 = 0xb00c47a2
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageActionPrizeStars
impl PartialEq for MessageActionPrizeStars
Source§impl TryFrom<MessageAction> for MessageActionPrizeStars
impl TryFrom<MessageAction> for MessageActionPrizeStars
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageActionPrizeStars
Auto Trait Implementations§
impl Freeze for MessageActionPrizeStars
impl RefUnwindSafe for MessageActionPrizeStars
impl Send for MessageActionPrizeStars
impl Sync for MessageActionPrizeStars
impl Unpin for MessageActionPrizeStars
impl UnsafeUnpin for MessageActionPrizeStars
impl UnwindSafe for MessageActionPrizeStars
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