pub struct StarsGiveawayWinnersOption {
pub default: bool,
pub users: i32,
pub per_user_stars: i64,
}Expand description
Generated from:
starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_user_stars:long = StarsGiveawayWinnersOptionFields§
§default: bool§users: i32§per_user_stars: i64Trait Implementations§
Source§impl Clone for StarsGiveawayWinnersOption
impl Clone for StarsGiveawayWinnersOption
Source§fn clone(&self) -> StarsGiveawayWinnersOption
fn clone(&self) -> StarsGiveawayWinnersOption
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 StarsGiveawayWinnersOption
impl Debug for StarsGiveawayWinnersOption
Source§impl Deserializable for StarsGiveawayWinnersOption
impl Deserializable for StarsGiveawayWinnersOption
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<StarsGiveawayWinnersOption> for StarsGiveawayWinnersOption
impl From<StarsGiveawayWinnersOption> for StarsGiveawayWinnersOption
Source§fn from(x: StarsGiveawayWinnersOption) -> Self
fn from(x: StarsGiveawayWinnersOption) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StarsGiveawayWinnersOption
impl Identifiable for StarsGiveawayWinnersOption
Source§const CONSTRUCTOR_ID: u32 = 0x54236209
const CONSTRUCTOR_ID: u32 = 0x54236209
The constructor ID as specified in the TL schema.
Source§impl TryFrom<StarsGiveawayWinnersOption> for StarsGiveawayWinnersOption
impl TryFrom<StarsGiveawayWinnersOption> for StarsGiveawayWinnersOption
Source§type Error = StarsGiveawayWinnersOption
type Error = StarsGiveawayWinnersOption
The type returned in the event of a conversion error.
impl StructuralPartialEq for StarsGiveawayWinnersOption
Auto Trait Implementations§
impl Freeze for StarsGiveawayWinnersOption
impl RefUnwindSafe for StarsGiveawayWinnersOption
impl Send for StarsGiveawayWinnersOption
impl Sync for StarsGiveawayWinnersOption
impl Unpin for StarsGiveawayWinnersOption
impl UnsafeUnpin for StarsGiveawayWinnersOption
impl UnwindSafe for StarsGiveawayWinnersOption
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