Struct rust_iso3166::iso3166_3::CountryCode3
source · [−]pub struct CountryCode3 {
pub code: &'static str,
pub name: &'static str,
pub former: CountryCode,
pub new_countries: &'static [CountryCode],
pub validity: &'static [i32],
pub desc: &'static str,
}
Expand description
Data for each Country Code defined by ISO 3166-1
Fields
code: &'static str
ISO 3166-3 code
name: &'static str
Former country name
former: CountryCode
new_countries: &'static [CountryCode]
validity: &'static [i32]
Period of validity
desc: &'static str
Decription
Trait Implementations
sourceimpl Clone for CountryCode3
impl Clone for CountryCode3
sourcefn clone(&self) -> CountryCode3
fn clone(&self) -> CountryCode3
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CountryCode3
impl Debug for CountryCode3
impl Copy for CountryCode3
Auto Trait Implementations
impl RefUnwindSafe for CountryCode3
impl Send for CountryCode3
impl Sync for CountryCode3
impl Unpin for CountryCode3
impl UnwindSafe for CountryCode3
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more