pub struct CountryInfo {
pub code: &'static str,
pub name: &'static str,
}Fields§
§code: &'static str§name: &'static strTrait Implementations§
Source§impl Clone for CountryInfo
impl Clone for CountryInfo
Source§fn clone(&self) -> CountryInfo
fn clone(&self) -> CountryInfo
Returns a duplicate 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 CountryInfo
impl Debug for CountryInfo
Source§impl PartialEq for CountryInfo
impl PartialEq for CountryInfo
impl Copy for CountryInfo
impl Eq for CountryInfo
impl StructuralPartialEq for CountryInfo
Auto Trait Implementations§
impl Freeze for CountryInfo
impl RefUnwindSafe for CountryInfo
impl Send for CountryInfo
impl Sync for CountryInfo
impl Unpin for CountryInfo
impl UnsafeUnpin for CountryInfo
impl UnwindSafe for CountryInfo
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