pub struct TGChatBoostSourceGiveaway {
pub source: String,
pub user: TGUser,
pub is_unclaimed: bool,
pub giveaway_message_id: i64,
}Fields§
§source: String§user: TGUser§is_unclaimed: bool§giveaway_message_id: i64Trait Implementations§
Source§impl Clone for TGChatBoostSourceGiveaway
impl Clone for TGChatBoostSourceGiveaway
Source§fn clone(&self) -> TGChatBoostSourceGiveaway
fn clone(&self) -> TGChatBoostSourceGiveaway
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 TGChatBoostSourceGiveaway
impl Debug for TGChatBoostSourceGiveaway
Source§impl Default for TGChatBoostSourceGiveaway
impl Default for TGChatBoostSourceGiveaway
Source§fn default() -> TGChatBoostSourceGiveaway
fn default() -> TGChatBoostSourceGiveaway
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TGChatBoostSourceGiveaway
impl<'de> Deserialize<'de> for TGChatBoostSourceGiveaway
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
Auto Trait Implementations§
impl Freeze for TGChatBoostSourceGiveaway
impl RefUnwindSafe for TGChatBoostSourceGiveaway
impl Send for TGChatBoostSourceGiveaway
impl Sync for TGChatBoostSourceGiveaway
impl Unpin for TGChatBoostSourceGiveaway
impl UnwindSafe for TGChatBoostSourceGiveaway
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