pub struct PremiumGiveawayParticipantStatusDisallowedCountry {
pub user_country_code: String,
}Expand description
The user can’t participate in the giveaway, because they phone number is from a disallowed country
Fields§
§user_country_code: StringA two-letter ISO 3166-1 alpha-2 country code of the user’s country
Trait Implementations§
Source§impl Clone for PremiumGiveawayParticipantStatusDisallowedCountry
impl Clone for PremiumGiveawayParticipantStatusDisallowedCountry
Source§fn clone(&self) -> PremiumGiveawayParticipantStatusDisallowedCountry
fn clone(&self) -> PremiumGiveawayParticipantStatusDisallowedCountry
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 Default for PremiumGiveawayParticipantStatusDisallowedCountry
impl Default for PremiumGiveawayParticipantStatusDisallowedCountry
Source§fn default() -> PremiumGiveawayParticipantStatusDisallowedCountry
fn default() -> PremiumGiveawayParticipantStatusDisallowedCountry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PremiumGiveawayParticipantStatusDisallowedCountry
impl<'de> Deserialize<'de> for PremiumGiveawayParticipantStatusDisallowedCountry
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 PremiumGiveawayParticipantStatusDisallowedCountry
impl PartialEq for PremiumGiveawayParticipantStatusDisallowedCountry
Source§fn eq(&self, other: &PremiumGiveawayParticipantStatusDisallowedCountry) -> bool
fn eq(&self, other: &PremiumGiveawayParticipantStatusDisallowedCountry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PremiumGiveawayParticipantStatusDisallowedCountry
Auto Trait Implementations§
impl Freeze for PremiumGiveawayParticipantStatusDisallowedCountry
impl RefUnwindSafe for PremiumGiveawayParticipantStatusDisallowedCountry
impl Send for PremiumGiveawayParticipantStatusDisallowedCountry
impl Sync for PremiumGiveawayParticipantStatusDisallowedCountry
impl Unpin for PremiumGiveawayParticipantStatusDisallowedCountry
impl UnwindSafe for PremiumGiveawayParticipantStatusDisallowedCountry
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