pub struct Country {
pub code: [u8; 2],
pub rev: u16,
}Expand description
A country, by its ISO 3166 code, and the revision of its rules in the CLM.
Fields§
§code: [u8; 2]The two-letter code, as *b"NL".
rev: u16The revision; 0 for the CLM’s default.
Trait Implementations§
impl Copy for Country
impl Eq for Country
impl StructuralPartialEq for Country
Auto Trait Implementations§
impl Forget for Country
impl Freeze for Country
impl Move for Country
impl RefUnwindSafe for Country
impl Send for Country
impl Sync for Country
impl Unpin for Country
impl UnsafeUnpin for Country
impl UnwindSafe for Country
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