pub struct TargetRegionName<'a> {
pub country_code: LangCode,
pub iso_639_language_code: LangCode,
pub regions: Vec<TargetRegionNameEntry<'a>>,
}Expand description
target_region_name body (Table 157, §6.4.13). The region loop is unfolded.
Fields§
§country_code: LangCodecountry_code(24).
iso_639_language_code: LangCodeISO_639_language_code(24).
regions: Vec<TargetRegionNameEntry<'a>>Region name entries (the loop).
Trait Implementations§
Source§impl<'a> Clone for TargetRegionName<'a>
impl<'a> Clone for TargetRegionName<'a>
Source§fn clone(&self) -> TargetRegionName<'a>
fn clone(&self) -> TargetRegionName<'a>
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<'a> Debug for TargetRegionName<'a>
impl<'a> Debug for TargetRegionName<'a>
impl<'a> Eq for TargetRegionName<'a>
Source§impl<'a> ExtensionBodyDef<'a> for TargetRegionName<'a>
impl<'a> ExtensionBodyDef<'a> for TargetRegionName<'a>
Source§impl<'a> Parse<'a> for TargetRegionName<'a>
impl<'a> Parse<'a> for TargetRegionName<'a>
Source§impl<'a> PartialEq for TargetRegionName<'a>
impl<'a> PartialEq for TargetRegionName<'a>
Source§fn eq(&self, other: &TargetRegionName<'a>) -> bool
fn eq(&self, other: &TargetRegionName<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for TargetRegionName<'a>
impl<'a> Serialize for TargetRegionName<'a>
Source§impl Serialize for TargetRegionName<'_>
impl Serialize for TargetRegionName<'_>
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl<'a> StructuralPartialEq for TargetRegionName<'a>
Source§impl<'a> Yokeable<'a> for TargetRegionName<'static>
impl<'a> Yokeable<'a> for TargetRegionName<'static>
Source§type Output = TargetRegionName<'a>
type Output = TargetRegionName<'a>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for TargetRegionName<'a>
impl<'a> RefUnwindSafe for TargetRegionName<'a>
impl<'a> Send for TargetRegionName<'a>
impl<'a> Sync for TargetRegionName<'a>
impl<'a> Unpin for TargetRegionName<'a>
impl<'a> UnsafeUnpin for TargetRegionName<'a>
impl<'a> UnwindSafe for TargetRegionName<'a>
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