pub struct GiveawayParticipantStatusDisallowedCountry {
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 GiveawayParticipantStatusDisallowedCountry
impl Clone for GiveawayParticipantStatusDisallowedCountry
Source§fn clone(&self) -> GiveawayParticipantStatusDisallowedCountry
fn clone(&self) -> GiveawayParticipantStatusDisallowedCountry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GiveawayParticipantStatusDisallowedCountry
impl Default for GiveawayParticipantStatusDisallowedCountry
Source§fn default() -> GiveawayParticipantStatusDisallowedCountry
fn default() -> GiveawayParticipantStatusDisallowedCountry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GiveawayParticipantStatusDisallowedCountry
impl<'de> Deserialize<'de> for GiveawayParticipantStatusDisallowedCountry
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 GiveawayParticipantStatusDisallowedCountry
impl PartialEq for GiveawayParticipantStatusDisallowedCountry
Source§fn eq(&self, other: &GiveawayParticipantStatusDisallowedCountry) -> bool
fn eq(&self, other: &GiveawayParticipantStatusDisallowedCountry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GiveawayParticipantStatusDisallowedCountry
Auto Trait Implementations§
impl Freeze for GiveawayParticipantStatusDisallowedCountry
impl RefUnwindSafe for GiveawayParticipantStatusDisallowedCountry
impl Send for GiveawayParticipantStatusDisallowedCountry
impl Sync for GiveawayParticipantStatusDisallowedCountry
impl Unpin for GiveawayParticipantStatusDisallowedCountry
impl UnsafeUnpin for GiveawayParticipantStatusDisallowedCountry
impl UnwindSafe for GiveawayParticipantStatusDisallowedCountry
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