Struct google_youtube3::api::I18nRegionSnippet
source · pub struct I18nRegionSnippet {
pub gl: Option<String>,
pub name: Option<String>,
}
Expand description
Basic details about an i18n region, such as region code and human-readable name.
This type is not used in any activity, and only used as part of another schema.
Fields§
§gl: Option<String>
The region code as a 2-letter ISO country code.
name: Option<String>
The human-readable name of the region.
Trait Implementations§
source§impl Clone for I18nRegionSnippet
impl Clone for I18nRegionSnippet
source§fn clone(&self) -> I18nRegionSnippet
fn clone(&self) -> I18nRegionSnippet
Returns a copy 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 I18nRegionSnippet
impl Debug for I18nRegionSnippet
source§impl Default for I18nRegionSnippet
impl Default for I18nRegionSnippet
source§fn default() -> I18nRegionSnippet
fn default() -> I18nRegionSnippet
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for I18nRegionSnippet
impl<'de> Deserialize<'de> for I18nRegionSnippet
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 Serialize for I18nRegionSnippet
impl Serialize for I18nRegionSnippet
impl Part for I18nRegionSnippet
Auto Trait Implementations§
impl RefUnwindSafe for I18nRegionSnippet
impl Send for I18nRegionSnippet
impl Sync for I18nRegionSnippet
impl Unpin for I18nRegionSnippet
impl UnwindSafe for I18nRegionSnippet
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