pub struct TrackTargetedCountry {
pub country_code: Option<String>,
}Expand description
Representation of a single country where the contents of a track are available.
This type is not used in any activity, and only used as part of another schema.
Fields§
§country_code: Option<String>The country to target, as a two-letter CLDR code.
Trait Implementations§
Source§impl Clone for TrackTargetedCountry
impl Clone for TrackTargetedCountry
Source§fn clone(&self) -> TrackTargetedCountry
fn clone(&self) -> TrackTargetedCountry
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 Debug for TrackTargetedCountry
impl Debug for TrackTargetedCountry
Source§impl Default for TrackTargetedCountry
impl Default for TrackTargetedCountry
Source§fn default() -> TrackTargetedCountry
fn default() -> TrackTargetedCountry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrackTargetedCountry
impl<'de> Deserialize<'de> for TrackTargetedCountry
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
impl Part for TrackTargetedCountry
Auto Trait Implementations§
impl Freeze for TrackTargetedCountry
impl RefUnwindSafe for TrackTargetedCountry
impl Send for TrackTargetedCountry
impl Sync for TrackTargetedCountry
impl Unpin for TrackTargetedCountry
impl UnsafeUnpin for TrackTargetedCountry
impl UnwindSafe for TrackTargetedCountry
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