#[non_exhaustive]pub enum SINType {
Show 17 variants
CRAAssigned,
TemporaryResident,
BusinessNumber,
OverseasForces,
Alberta,
BritishColumbia,
Manitoba,
NewBrunswick,
NewfoundlandLabrador,
NorthwestTerritories,
NovaScotia,
Nunavut,
Ontario,
PrinceEdwardIsland,
Quebec,
Saskatchewan,
Yukon,
}
Expand description
Types of SINs: All the provinces, plus some other categories.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CRAAssigned
CRA-assigned Individual Tax Numbers, Temporary Tax Numbers and Adoption Tax Numbers. These are currently only assigned to natural people.
TemporaryResident
BusinessNumber
Business numbers and SINs share the same namespace.
OverseasForces
Military forces abroad.
Alberta
BritishColumbia
Manitoba
NewBrunswick
NewfoundlandLabrador
NorthwestTerritories
NovaScotia
Ontario
PrinceEdwardIsland
Quebec
Saskatchewan
Yukon
Implementations§
Trait Implementations§
impl Copy for SINType
impl Eq for SINType
impl StructuralPartialEq for SINType
Auto Trait Implementations§
impl Freeze for SINType
impl RefUnwindSafe for SINType
impl Send for SINType
impl Sync for SINType
impl Unpin for SINType
impl UnwindSafe for SINType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)