#[repr(C)]pub struct ArchivedCountryRecordRaw{Show 19 fields
pub iso: <String as Archive>::Archived,
pub iso3: <String as Archive>::Archived,
pub iso_numeric: <String as Archive>::Archived,
pub fips: <String as Archive>::Archived,
pub name: <String as Archive>::Archived,
pub capital: <String as Archive>::Archived,
pub area: <String as Archive>::Archived,
pub population: <u32 as Archive>::Archived,
pub continent: <String as Archive>::Archived,
pub tld: <String as Archive>::Archived,
pub currency_code: <String as Archive>::Archived,
pub currency_name: <String as Archive>::Archived,
pub phone: <String as Archive>::Archived,
pub postal_code_format: <String as Archive>::Archived,
pub postal_code_regex: <String as Archive>::Archived,
pub languages: <String as Archive>::Archived,
pub geonameid: <u32 as Archive>::Archived,
pub neighbours: <String as Archive>::Archived,
pub equivalent_fips_code: <String as Archive>::Archived,
}Expand description
An archived CountryRecordRaw
Fields§
§iso: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::iso
iso3: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::iso3
iso_numeric: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::iso_numeric
fips: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::fips
name: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::name
capital: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::capital
area: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::area
population: <u32 as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::population
continent: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::continent
tld: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::tld
currency_code: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::currency_code
currency_name: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::currency_name
phone: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::phone
postal_code_format: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::postal_code_format
postal_code_regex: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::postal_code_regex
languages: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::languages
geonameid: <u32 as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::geonameid
neighbours: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::neighbours
equivalent_fips_code: <String as Archive>::ArchivedThe archived counterpart of CountryRecordRaw::equivalent_fips_code
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCountryRecordRaw
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCountryRecordRaw
Source§impl Debug for ArchivedCountryRecordRaw
impl Debug for ArchivedCountryRecordRaw
Source§impl Serialize for ArchivedCountryRecordRaw
impl Serialize for ArchivedCountryRecordRaw
impl Portable for ArchivedCountryRecordRaw
Auto Trait Implementations§
impl Freeze for ArchivedCountryRecordRaw
impl RefUnwindSafe for ArchivedCountryRecordRaw
impl Send for ArchivedCountryRecordRaw
impl Sync for ArchivedCountryRecordRaw
impl !Unpin for ArchivedCountryRecordRaw
impl UnwindSafe for ArchivedCountryRecordRaw
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.