use crate::Country;
use crate::Date;
use crate::PointsSystem;
#[derive(
Copy,
Clone,
Debug,
Deserialize,
Display,
PartialEq,
PartialOrd,
Ord,
Eq,
Serialize,
EnumIter,
EnumString,
)]
pub enum Federation {
#[serde(rename = "365Strong")]
#[strum(to_string = "365Strong", serialize = "365strong")]
_365Strong,
#[strum(to_string = "AAP", serialize = "aap")]
AAP,
#[strum(to_string = "AAPLF", serialize = "aaplf")]
AAPLF,
#[strum(to_string = "AAU", serialize = "aau")]
AAU,
#[strum(to_string = "ACHIPO", serialize = "achipo")]
ACHIPO,
#[strum(to_string = "ACPA", serialize = "acpa")]
ACPA,
#[strum(to_string = "ADAU", serialize = "adau")]
ADAU,
#[strum(to_string = "ADFPA", serialize = "adfpa")]
ADFPA,
#[strum(to_string = "ADFPF", serialize = "adfpf")]
ADFPF,
#[strum(to_string = "AEP", serialize = "aep")]
AEP,
#[strum(to_string = "AFPF", serialize = "afpf")]
AFPF,
#[strum(to_string = "AfricanPF", serialize = "africanpf")]
AfricanPF,
#[strum(to_string = "AIWBPA", serialize = "aiwbpa")]
AIWBPA,
#[strum(to_string = "AmericanSA", serialize = "americansa")]
AmericanSA,
#[strum(to_string = "ANPPC", serialize = "anppc")]
ANPPC,
#[strum(to_string = "APA", serialize = "apa")]
APA,
#[strum(to_string = "APC", serialize = "apc")]
APC,
#[strum(to_string = "APF", serialize = "apf")]
APF,
#[strum(to_string = "APP", serialize = "app")]
APP,
#[strum(to_string = "APU", serialize = "apu")]
APU,
#[strum(to_string = "APUA", serialize = "apua")]
APUA,
#[strum(to_string = "ARPL", serialize = "arpl")]
ARPL,
#[strum(to_string = "AsianPF", serialize = "asianpf")]
AsianPF,
#[strum(to_string = "AusDFPF", serialize = "ausdfpf")]
AusDFPF,
#[strum(to_string = "AusPF", serialize = "auspf")]
AusPF,
#[strum(to_string = "AusPL", serialize = "auspl")]
AusPL,
#[strum(to_string = "AWF", serialize = "awf")]
AWF,
#[strum(to_string = "BahamasPF", serialize = "bahamasPF")]
BahamasPF,
#[strum(to_string = "BAWLA", serialize = "bawla")]
BAWLA,
#[strum(to_string = "BB", serialize = "bb")]
BB,
#[strum(to_string = "BDFPA", serialize = "bdfpa")]
BDFPA,
#[strum(to_string = "BDFPF", serialize = "bdfpf")]
BDFPF,
#[strum(to_string = "BelPF", serialize = "belpf")]
BelPF,
#[strum(to_string = "BP", serialize = "bp")]
BP,
#[strum(to_string = "BPA", serialize = "bpa")]
BPA,
#[strum(to_string = "BPC", serialize = "bpc")]
BPC,
#[strum(to_string = "BPF", serialize = "bpf")]
BPF,
#[strum(to_string = "BPO", serialize = "bpo")]
BPO,
#[strum(to_string = "BPU", serialize = "bpu")]
BPU,
#[strum(to_string = "BVDG", serialize = "bvdg")]
BVDG,
#[strum(to_string = "BVDK", serialize = "bvdk")]
BVDK,
#[serde(rename = "Canada-UA")]
#[strum(to_string = "Canada-UA", serialize = "canada-ua")]
CanadaUA,
#[strum(to_string = "CAPO", serialize = "capo")]
CAPO,
#[serde(rename = "CAPO-NZ")]
#[strum(to_string = "CAPO-NZ", serialize = "capo-nz")]
CAPONZ,
#[strum(to_string = "CAST", serialize = "cast")]
CAST,
#[strum(to_string = "CBLB", serialize = "cblb")]
CBLB,
#[strum(to_string = "CBPL", serialize = "cbpl")]
CBPL,
#[strum(to_string = "ChinaPA", serialize = "chinapa")]
ChinaPA,
#[strum(to_string = "CNFA", serialize = "cnfa")]
CNFA,
#[strum(to_string = "ColPF", serialize = "colpf")]
ColPF,
#[strum(to_string = "CommonwealthPF", serialize = "commonwealthpf")]
CommonwealthPF,
#[strum(to_string = "CONBRAP", serialize = "conbrap")]
CONBRAP,
#[strum(to_string = "CPA", serialize = "cpa")]
CPA,
#[strum(to_string = "CPC", serialize = "cpc")]
CPC,
#[strum(to_string = "CPF", serialize = "cpf")]
CPF,
#[strum(to_string = "CPL", serialize = "cpl")]
CPL,
#[strum(to_string = "CPO", serialize = "cpo")]
CPO,
#[strum(to_string = "CPU", serialize = "cpu")]
CPU,
#[serde(rename = "Croatia-UA")]
#[strum(to_string = "Croatia-UA", serialize = "croatia-ua")]
CroatiaUA,
#[strum(to_string = "CSST", serialize = "csst")]
CSST,
#[serde(rename = "Czechia-UA")]
#[strum(to_string = "Czechia-UA", serialize = "czechia-ua")]
CzechiaUA,
#[strum(to_string = "DBKV", serialize = "dbkv")]
DBKV,
#[strum(to_string = "DFPFNL", serialize = "dfpfnl")]
DFPFNL,
#[strum(to_string = "DSF", serialize = "dsf")]
DSF,
#[strum(to_string = "EJTL", serialize = "ejtl")]
EJTL,
#[strum(to_string = "EPC", serialize = "epc")]
EPC,
#[serde(rename = "England-UA")]
#[strum(to_string = "England-UA", serialize = "england-ua")]
EnglandUA,
#[strum(to_string = "EPA", serialize = "epa")]
EPA,
#[strum(to_string = "EPF", serialize = "epf")]
EPF,
#[strum(to_string = "ESDT", serialize = "esdt")]
ESDT,
#[strum(to_string = "FALPO", serialize = "falpo")]
FALPO,
#[strum(to_string = "FBPD", serialize = "fbpd")]
FBPD,
#[strum(to_string = "FSFA", serialize = "fsfa")]
FSFA,
#[strum(to_string = "FCA", serialize = "fca")]
FCA,
#[strum(to_string = "FCST", serialize = "fcst")]
FCST,
#[strum(to_string = "FECAPOLIF", serialize = "fecapolif")]
FECAPOLIF,
#[strum(to_string = "FECHIPO", serialize = "fechipo")]
FECHIPO,
#[strum(to_string = "Fedepotencia", serialize = "fedepotencia")]
Fedepotencia,
#[strum(to_string = "FEMEPO", serialize = "femepo")]
FEMEPO,
#[strum(to_string = "FEPOA", serialize = "fepoa")]
FEPOA,
#[strum(to_string = "FESUPO", serialize = "fesupo")]
FESUPO,
#[strum(to_string = "FFForce", serialize = "ffforce")]
FFForce,
#[strum(to_string = "FFHMFAC", serialize = "ffhmfac")]
FFHMFAC,
#[strum(to_string = "FHSAA", serialize = "fhsaa")]
FHSAA,
#[strum(to_string = "FIAP", serialize = "fiap")]
FIAP,
#[strum(to_string = "FIPL", serialize = "fipl")]
FIPL,
#[strum(to_string = "FPO", serialize = "fpo")]
FPO,
#[strum(to_string = "FPPR", serialize = "fppr")]
FPPR,
#[strum(to_string = "FPR", serialize = "fpr")]
FPR,
#[strum(to_string = "FRPL", serialize = "frpl")]
FRPL,
#[strum(to_string = "GDFPF", serialize = "gdfpf")]
GDFPF,
#[serde(rename = "Germany-UA")]
#[strum(to_string = "Germany-UA", serialize = "germany-ua")]
GermanyUA,
#[strum(to_string = "GFP", serialize = "gfp")]
GFP,
#[strum(to_string = "GlobalPU", serialize = "globalpu")]
GlobalPU,
#[strum(to_string = "GPA", serialize = "gpa")]
GPA,
#[serde(rename = "GPA-CRO")]
#[strum(to_string = "GPA-CRO", serialize = "gpa-cro")]
GPACRO,
#[strum(to_string = "GPC", serialize = "gpc")]
GPC,
#[serde(rename = "GPC-AUS")]
#[strum(to_string = "GPC-AUS", serialize = "gpc-aus")]
GPCAUS,
#[serde(rename = "GPC-CAN")]
#[strum(to_string = "GPC-CAN", serialize = "gpc-can")]
GPCCAN,
#[serde(rename = "GPC-GB")]
#[strum(to_string = "GPC-GB", serialize = "gpc-gb")]
GPCGB,
#[serde(rename = "GPC-GUPU")]
#[strum(to_string = "GPC-GUPU", serialize = "gpc-gupu")]
GPCGUPU,
#[serde(rename = "GPC-IRL")]
#[strum(to_string = "GPC-IRL", serialize = "gpc-irl")]
GPCIRL,
#[serde(rename = "GPC-ISR")]
#[strum(to_string = "GPC-ISR", serialize = "gpc-isr")]
GPCISR,
#[serde(rename = "GPC-LAT")]
#[strum(to_string = "GPC-LAT", serialize = "gpc-lat")]
GPCLAT,
#[serde(rename = "GPC-NZ")]
#[strum(to_string = "GPC-NZ", serialize = "gpc-nz")]
GPCNZ,
#[serde(rename = "GPC-POL")]
#[strum(to_string = "GPC-POL", serialize = "gpc-pol")]
GPCPOL,
#[serde(rename = "GPC-UKR")]
#[strum(to_string = "GPC-UKR", serialize = "gpc-ukr")]
GPCUKR,
#[serde(rename = "GPC-USA")]
#[strum(to_string = "GPC-USA", serialize = "gpc-usa")]
GPCUSA,
#[serde(rename = "GPC-RUS")]
#[strum(to_string = "GPC-RUS", serialize = "gpc-rus")]
GPCRUS,
#[serde(rename = "GPC-WUAP-CRO")]
#[strum(to_string = "GPC-WUAP-CRO", serialize = "gpc-wuap-cro")]
GPCWUAPCRO,
#[strum(to_string = "GPF", serialize = "gpf")]
GPF,
#[strum(to_string = "GPU", serialize = "gpu")]
GPU,
#[strum(to_string = "GRAWA", serialize = "grawa")]
GRAWA,
#[serde(rename = "GSF-Belarus")]
#[strum(to_string = "GSF-Belarus", serialize = "gsf-belarus")]
GSFBelarus,
#[strum(to_string = "Hardcore", serialize = "hardcore")]
Hardcore,
#[strum(to_string = "HKPF", serialize = "hkpf")]
HKPF,
#[strum(to_string = "HKWPA", serialize = "hkwpa")]
HKWPA,
#[strum(to_string = "HPC", serialize = "hpc")]
HPC,
#[strum(to_string = "HPLS", serialize = "hpls")]
HPLS,
#[serde(rename = "HPLS-UA")]
#[strum(to_string = "HPLS-UA", serialize = "hpls-ua")]
HPLSUA,
#[strum(to_string = "HPO", serialize = "hpo")]
HPO,
#[strum(to_string = "HTPL", serialize = "htpl")]
HTPL,
#[strum(to_string = "Hunpower", serialize = "hunpower")]
Hunpower,
#[strum(to_string = "IBSA", serialize = "ibsa")]
IBSA,
#[strum(to_string = "IDFPA", serialize = "idfpa")]
IDFPA,
#[strum(to_string = "IDFPF", serialize = "idfpf")]
IDFPF,
#[strum(to_string = "IKF", serialize = "ikf")]
IKF,
#[strum(to_string = "ILPA", serialize = "ilpa")]
ILPA,
#[strum(to_string = "INSA", serialize = "insa")]
INSA,
#[strum(to_string = "IPA", serialize = "ipa")]
IPA,
#[serde(rename = "IPA-AZE")]
#[strum(to_string = "IPA-AZE", serialize = "ipa-aze")]
IPAAZE,
#[strum(to_string = "IPC", serialize = "ipc")]
IPC,
#[strum(to_string = "IPF", serialize = "ipf")]
IPF,
#[strum(to_string = "IPL", serialize = "ipl")]
IPL,
#[serde(rename = "IPL-NZ")]
#[strum(to_string = "IPL-NZ", serialize = "ipl-nz")]
IPLNZ,
#[serde(rename = "IPL-Spain")]
#[strum(to_string = "IPL-Spain", serialize = "ipl-spain")]
IPLSpain,
#[strum(to_string = "IranBBF", serialize = "iranbbf")]
IranBBF,
#[serde(rename = "Ireland-UA")]
#[strum(to_string = "Ireland-UA", serialize = "ireland-ua")]
IrelandUA,
#[strum(to_string = "IrishPF", serialize = "irishpf")]
IrishPF,
#[strum(to_string = "IrishPO", serialize = "irishpo")]
IrishPO,
#[strum(to_string = "IronBoy", serialize = "ironboy")]
IronBoy,
#[strum(to_string = "IRP", serialize = "irp")]
IRP,
#[strum(to_string = "JPA", serialize = "jpa")]
JPA,
#[strum(to_string = "KDKS", serialize = "kdks")]
KDKS,
#[serde(rename = "KNKF-SP")]
#[strum(to_string = "KNKF-SP", serialize = "knkf-sp")]
KNKFSP,
#[strum(to_string = "KPF", serialize = "kpf")]
KPF,
#[strum(to_string = "KRAFT", serialize = "kraft")]
KRAFT,
#[strum(to_string = "KuwaitPL", serialize = "kuwaitpl")]
KuwaitPL,
#[strum(to_string = "LFPH", serialize = "lfph")]
LFPH,
#[strum(to_string = "LGBT", serialize = "lgbt")]
LGBT,
#[strum(to_string = "LHSPLA", serialize = "lhspla")]
LHSPLA,
#[strum(to_string = "LJTF", serialize = "ljtf")]
LJTF,
#[strum(to_string = "LMP", serialize = "lmp")]
LMP,
#[strum(to_string = "LPF", serialize = "lpf")]
LPF,
#[serde(rename = "Malaysia-UA")]
#[strum(to_string = "Malaysia-UA", serialize = "malaysia-ua")]
MalaysiaUA,
#[strum(to_string = "MDFPA", serialize = "mdfpa")]
MDFPA,
#[strum(to_string = "MDFPF", serialize = "mdfpf")]
MDFPF,
#[strum(to_string = "MHSAA", serialize = "mhsaa")]
MHSAA,
#[strum(to_string = "MHSPLA", serialize = "mhspla")]
MHSPLA,
#[strum(to_string = "MM", serialize = "mm")]
MM,
#[serde(rename = "MM-AUS")]
#[strum(to_string = "MM-AUS", serialize = "mm-aus")]
MMAUS,
#[strum(to_string = "MPA", serialize = "mpa")]
MPA,
#[strum(to_string = "NAP", serialize = "nap")]
NAP,
#[strum(to_string = "NAPF", serialize = "napf")]
NAPF,
#[strum(to_string = "NASA", serialize = "nasa")]
NASA,
#[strum(to_string = "NaturalPA", serialize = "naturalpa")]
NaturalPA,
#[strum(to_string = "NauruPF", serialize = "naurupf")]
NauruPF,
#[strum(to_string = "NextGenPF", serialize = "nextgenpf")]
NextGenPF,
#[strum(to_string = "NIPF", serialize = "nipf")]
NIPF,
#[strum(to_string = "NORCAL", serialize = "norcal")]
NORCAL,
#[strum(to_string = "NordicPF", serialize = "nordicpf")]
NordicPF,
#[strum(to_string = "NPA", serialize = "npa")]
NPA,
#[strum(to_string = "NPB", serialize = "npb")]
NPB,
#[strum(to_string = "NSF", serialize = "nsf")]
NSF,
#[strum(to_string = "NZAWLA", serialize = "nzawla")]
NZAWLA,
#[strum(to_string = "NZPF", serialize = "nzpf")]
NZPF,
#[serde(rename = "NZ-UA")]
#[strum(to_string = "NZ-UA", serialize = "nz-ua")]
NZUA,
#[strum(to_string = "OceaniaPF", serialize = "oceaniapf")]
OceaniaPF,
#[strum(to_string = "OceaniaPO", serialize = "oceaniapo")]
OceaniaPO,
#[strum(to_string = "ORPF", serialize = "orpf")]
ORPF,
#[strum(to_string = "OEVK", serialize = "oevk")]
OEVK,
#[strum(to_string = "PA", serialize = "pa")]
PA,
#[strum(to_string = "PAGermany", serialize = "pagermany")]
PAGermany,
#[strum(to_string = "PAP", serialize = "pap")]
PAP,
#[strum(to_string = "PHPL", serialize = "phpl")]
PHPL,
#[strum(to_string = "PI", serialize = "pi")]
PI,
#[strum(to_string = "PLH", serialize = "plh")]
PLH,
#[strum(to_string = "PLSS", serialize = "plss")]
PLSS,
#[strum(to_string = "PLZS", serialize = "plzs")]
PLZS,
#[strum(to_string = "PNGPF", serialize = "pngpf")]
PNGPF,
#[serde(rename = "Poland-UA")]
#[strum(to_string = "Poland-UA", serialize = "poland-ua")]
PolandUA,
#[strum(to_string = "PoliceAL", serialize = "policeal")]
PoliceAL,
#[strum(to_string = "PowerLeague", serialize = "powerleague")]
PowerLeague,
#[strum(to_string = "PRIDE", serialize = "pride")]
PRIDE,
#[strum(to_string = "ProRaw", serialize = "proraw")]
ProRaw,
#[strum(to_string = "PRPA", serialize = "prpa")]
PRPA,
#[strum(to_string = "PZKFiTS", serialize = "pzkfits")]
PZKFiTS,
#[strum(to_string = "RAW", serialize = "100raw")]
RAW,
#[serde(rename = "RAW-CAN")]
#[strum(to_string = "RAW-CAN", serialize = "raw-can")]
RAWCAN,
#[serde(rename = "RAW-Iceland")]
#[strum(to_string = "RAW-Iceland", serialize = "raw-iceland")]
RAWIceland,
#[strum(to_string = "RawIronPL", serialize = "rawironpl")]
RawIronPL,
#[strum(to_string = "RawPower", serialize = "rawpower")]
RawPower,
#[serde(rename = "RAW-UKR")]
#[strum(to_string = "RAW-UKR", serialize = "raw-ukr")]
RAWUKR,
#[strum(to_string = "RAWU", serialize = "rawu")]
RAWU,
#[strum(to_string = "RDFPF", serialize = "rdfpf")]
RDFPF,
#[strum(to_string = "RhinoPC", serialize = "rhinopc")]
RhinoPC,
#[strum(to_string = "RPS", serialize = "rps")]
RPS,
#[strum(to_string = "RPU", serialize = "rpu")]
RPU,
#[strum(to_string = "RUPC", serialize = "rupc")]
RUPC,
#[serde(rename = "Russia-UA")]
#[strum(to_string = "Russia-UA", serialize = "russia-ua")]
RussiaUA,
#[strum(to_string = "SAAS", serialize = "saas")]
SAAS,
#[strum(to_string = "SAFKST", serialize = "safkst")]
SAFKST,
#[strum(to_string = "SAPF", serialize = "sapf")]
SAPF,
#[strum(to_string = "SAST", serialize = "sast")]
SAST,
#[strum(to_string = "ScottishPL", serialize = "scottishpl")]
ScottishPL,
#[strum(to_string = "SCI", serialize = "sci")]
SCI,
#[strum(to_string = "SCT", serialize = "sct")]
SCT,
#[strum(to_string = "SDFPF", serialize = "sdfpf")]
SDFPF,
#[strum(to_string = "SLP", serialize = "slp")]
SLP,
#[strum(to_string = "SPA", serialize = "spa")]
SPA,
#[strum(to_string = "SPF", serialize = "spf")]
SPF,
#[strum(to_string = "SADFPA", serialize = "sadfpa")]
SADFPA,
#[serde(rename = "SPF-IRL")]
#[strum(to_string = "SPF-IRL", serialize = "spf-irl")]
SPFIRL,
#[strum(to_string = "SPSS", serialize = "spss")]
SPSS,
#[strum(to_string = "SSA", serialize = "ssa")]
SSA,
#[strum(to_string = "SSF", serialize = "ssf")]
SSF,
#[strum(to_string = "SVNL", serialize = "svnl")]
SVNL,
#[strum(to_string = "SwissPL", serialize = "swisspl")]
SwissPL,
#[strum(to_string = "ThaiPF", serialize = "thaipf")]
ThaiPF,
#[strum(to_string = "THSPA", serialize = "thspa")]
THSPA,
#[strum(to_string = "THSWPA", serialize = "thswpa")]
THSWPA,
#[strum(to_string = "TPSSF", serialize = "tpssf")]
TPSSF,
#[strum(to_string = "UDFPF", serialize = "udfpf")]
UDFPF,
#[strum(to_string = "UgandaPF", serialize = "ugandapf")]
UgandaPF,
#[strum(to_string = "UkrainePA", serialize = "ukrainepa")]
UkrainePA,
#[strum(to_string = "UkrainePO", serialize = "ukrainepo")]
UkrainePO,
#[strum(to_string = "UnifiedSA", serialize = "unifiedsa")]
UnifiedSA,
#[strum(to_string = "UPA", serialize = "upa")]
UPA,
#[strum(to_string = "UPC", serialize = "upc")]
UPC,
#[serde(rename = "UPC-Germany")]
#[strum(to_string = "UPC-Germany", serialize = "upc-germany")]
UPCGermany,
#[strum(to_string = "UkrainePF", serialize = "ukrainepf")]
UkrainePF,
#[strum(to_string = "UPL", serialize = "upl")]
UPL,
#[strum(to_string = "USABA", serialize = "usaba")]
USABA,
#[strum(to_string = "USABPA", serialize = "usabpa")]
USABPA,
#[serde(rename = "USA-UA")]
#[strum(to_string = "USA-UA", serialize = "usa-ua")]
USAUA,
#[strum(to_string = "USAPL", serialize = "usapl")]
USAPL,
#[strum(to_string = "USARawBP", serialize = "usarawbp")]
USARawBP,
#[strum(to_string = "USMilAbroad", serialize = "usmilabroad")]
USMilAbroad,
#[strum(to_string = "USPS", serialize = "usps")]
USPS,
#[strum(to_string = "USPF", serialize = "uspf")]
USPF,
#[strum(to_string = "USPA", serialize = "uspa")]
USPA,
#[strum(to_string = "USPC", serialize = "uspc")]
USPC,
#[strum(to_string = "USSF", serialize = "ussf")]
USSF,
#[strum(to_string = "USSports", serialize = "ussports")]
USSports,
#[strum(to_string = "USVIPF", serialize = "usvipf")]
USVIPF,
#[strum(to_string = "VDFPA", serialize = "vdfpa")]
VDFPA,
#[strum(to_string = "VGPF", serialize = "vgpf")]
VGPF,
#[strum(to_string = "VietnamPA", serialize = "vietnampa")]
VietnamPA,
#[strum(to_string = "Vityaz", serialize = "vityaz")]
Vityaz,
#[strum(to_string = "VPF", serialize = "vpf")]
VPF,
#[strum(to_string = "WABDL", serialize = "wabdl")]
WABDL,
#[strum(to_string = "WAIA", serialize = "waia")]
WAIA,
#[strum(to_string = "WarriorPLF", serialize = "warriorplf")]
WarriorPLF,
#[strum(to_string = "WBC", serialize = "wbc")]
WBC,
#[strum(to_string = "WDFPF", serialize = "wdfpf")]
WDFPF,
#[strum(to_string = "WelshPA", serialize = "welshpa")]
WelshPA,
#[strum(to_string = "WP", serialize = "wp")]
WP,
#[serde(rename = "WP-China")]
#[strum(to_string = "WP-China", serialize = "wp-china")]
WPChina,
#[serde(rename = "WP-Nauru")]
#[strum(to_string = "WP-Nauru", serialize = "wp-nauru")]
WPNauru,
#[serde(rename = "WP-Niue")]
#[strum(to_string = "WP-Niue", serialize = "wp-niue")]
WPNiue,
#[serde(rename = "WP-USA")]
#[strum(to_string = "WP-USA", serialize = "wp-usa")]
WPUSA,
#[strum(to_string = "WPA", serialize = "wpa")]
WPA,
#[serde(rename = "WPA-GEO")]
#[strum(to_string = "WPA-GEO", serialize = "wpa-geo")]
WPAGEO,
#[serde(rename = "WPA-RUS")]
#[strum(to_string = "WPA-RUS", serialize = "wpa-rus")]
WPARUS,
#[strum(to_string = "WPAU", serialize = "wpau")]
WPAU,
#[strum(to_string = "WPC", serialize = "wpc")]
WPC,
#[strum(to_string = "WPCCP", serialize = "wpccp")]
WPCCP,
#[serde(rename = "WPC-Egypt")]
#[strum(to_string = "WPC-Egypt", serialize = "wpc-egypt")]
WPCEgypt,
#[serde(rename = "WPC-Finland")]
#[strum(to_string = "WPC-Finland", serialize = "wpc-finland")]
WPCFinland,
#[serde(rename = "WPC-France")]
#[strum(to_string = "WPC-France", serialize = "wpc-france")]
WPCFrance,
#[serde(rename = "WPC-Germany")]
#[strum(to_string = "WPC-Germany", serialize = "wpc-germany")]
WPCGermany,
#[serde(rename = "WPC-Iceland")]
#[strum(to_string = "WPC-Iceland", serialize = "wpc-iceland")]
WPCIceland,
#[serde(rename = "WPC-India")]
#[strum(to_string = "WPC-India", serialize = "wpc-india")]
WPCIndia,
#[serde(rename = "WPC-Israel")]
#[strum(to_string = "WPC-Israel", serialize = "wpc-israel")]
WPCIsrael,
#[serde(rename = "WPC-Italy")]
#[strum(to_string = "WPC-Italy", serialize = "wpc-italy")]
WPCItaly,
#[serde(rename = "WPC-KAZ")]
#[strum(to_string = "WPC-KAZ", serialize = "wpc-kaz")]
WPCKAZ,
#[serde(rename = "WPC-KGZ")]
#[strum(to_string = "WPC-KGZ", serialize = "wpc-kgz")]
WPCKGZ,
#[serde(rename = "WPC-Latvia")]
#[strum(to_string = "WPC-Latvia", serialize = "wpc-latvia")]
WPCLatvia,
#[serde(rename = "WPC-Moldova")]
#[strum(to_string = "WPC-Moldova", serialize = "wpc-moldova")]
WPCMoldova,
#[serde(rename = "WPC-Poland")]
#[strum(to_string = "WPC-Poland", serialize = "wpc-poland")]
WPCPoland,
#[serde(rename = "WPC-Portugal")]
#[strum(to_string = "WPC-Portugal", serialize = "wpc-portugal")]
WPCPortugal,
#[serde(rename = "WPC-RUS")]
#[strum(to_string = "WPC-RUS", serialize = "wpc-rus")]
WPCRUS,
#[serde(rename = "WPC-SA")]
#[strum(to_string = "WPC-SA", serialize = "wpc-sa")]
WPCSA,
#[serde(rename = "WPC-UKR")]
#[strum(to_string = "WPC-UKR", serialize = "wpc-ukr")]
WPCUKR,
#[strum(to_string = "WPF", serialize = "wpf")]
WPF,
#[strum(to_string = "WPFG", serialize = "wpfg")]
WPFG,
#[serde(rename = "WPF-KRAWA")]
#[strum(to_string = "WPF-KRAWA", serialize = "wpf-krawa")]
WPFKRAWA,
#[serde(rename = "WPF-RUS")]
#[strum(to_string = "WPF-RUS", serialize = "wpf-rus")]
WPFRUS,
#[strum(to_string = "WPLeague", serialize = "wpleague")]
WPLeague,
#[serde(rename = "WP-NZ")]
#[strum(to_string = "WP-NZ", serialize = "wp-nz")]
WPNZ,
#[serde(rename = "WPPL-Belarus")]
#[strum(to_string = "WPPL-Belarus", serialize = "wppl-belarus")]
WPPLBelarus,
#[serde(rename = "WPPL-Mexico")]
#[strum(to_string = "WPPL-Mexico", serialize = "wppl-mexico")]
WPPLMexico,
#[serde(rename = "WPPL-Ukraine")]
#[strum(to_string = "WPPL-Ukraine", serialize = "wppl-ukraine")]
WPPLUkraine,
#[strum(to_string = "WPPO", serialize = "wppo")]
WPPO,
#[strum(to_string = "WPRO", serialize = "wpro")]
WPRO,
#[strum(to_string = "WPSF", serialize = "wpsf")]
WPSF,
#[serde(rename = "WPSF-Belarus")]
#[strum(to_string = "WPSF-Belarus", serialize = "wpsf-belarus")]
WPSFBelarus,
#[strum(to_string = "WPU", serialize = "wpu")]
WPU,
#[strum(to_string = "WPUF", serialize = "wpuf")]
WPUF,
#[strum(to_string = "WNPF", serialize = "wnpf")]
WNPF,
#[strum(to_string = "WRPF", serialize = "wrpf")]
WRPF,
#[serde(rename = "WRPF-AUS")]
#[strum(to_string = "WRPF-AUS", serialize = "wrpf-aus")]
WRPFAUS,
#[serde(rename = "WRPF-Belarus")]
#[strum(to_string = "WRPF-Belarus", serialize = "wrpf-belarus")]
WRPFBelarus,
#[serde(rename = "WRPF-Brazil")]
#[strum(to_string = "WRPF-Brazil", serialize = "wrpf-brazil")]
WRPFBrazil,
#[serde(rename = "WRPF-CAN")]
#[strum(to_string = "WRPF-CAN", serialize = "wrpf-can")]
WRPFCAN,
#[serde(rename = "WRPF-HUN")]
#[strum(to_string = "WRPF-HUN", serialize = "wrpf-hun")]
WRPFHUN,
#[serde(rename = "WRPF-Iceland")]
#[strum(to_string = "WRPF-Iceland", serialize = "wrpf-iceland")]
WRPFIceland,
#[serde(rename = "WRPF-Ireland")]
#[strum(to_string = "WRPF-Ireland", serialize = "wrpf-ireland")]
WRPFIreland,
#[serde(rename = "WRPF-Italy")]
#[strum(to_string = "WRPF-Italy", serialize = "wrpf-italy")]
WRPFItaly,
#[serde(rename = "WRPF-KAZ")]
#[strum(to_string = "WRPF-KAZ", serialize = "wrpf-kaz")]
WRPFKAZ,
#[serde(rename = "WRPF-Lithuania")]
#[strum(to_string = "WRPF-Lithuania", serialize = "wrpf-lithuania")]
WRPFLithuania,
#[serde(rename = "WRPF-POL")]
#[strum(to_string = "WRPF-POL", serialize = "wrpf-pol")]
WRPFPOL,
#[serde(rename = "WRPF-Portugal")]
#[strum(to_string = "WRPF-Portugal", serialize = "wrpf-portugal")]
WRPFPortugal,
#[serde(rename = "WRPF-Slovakia")]
#[strum(to_string = "WRPF-Slovakia", serialize = "wrpf-slovakia")]
WRPFSlovakia,
#[serde(rename = "WRPF-Slovenia")]
#[strum(to_string = "WRPF-Slovenia", serialize = "wrpf-slovenia")]
WRPFSlovenia,
#[serde(rename = "WRPF-Spain")]
#[strum(to_string = "WRPF-Spain", serialize = "wrpf-spain")]
WRPFSpain,
#[serde(rename = "WRPF-SRB")]
#[strum(to_string = "WRPF-SRB", serialize = "wrpf-srb")]
WRPFSRB,
#[serde(rename = "WRPF-Sweden")]
#[strum(to_string = "WRPF-Sweden", serialize = "wrpf-sweden")]
WRPFSweden,
#[serde(rename = "WRPF-UK")]
#[strum(to_string = "WRPF-UK", serialize = "wrpf-uk")]
WRPFUK,
#[strum(to_string = "WSHSPL", serialize = "wshspl")]
WSHSPL,
#[strum(to_string = "WUAP", serialize = "wuap")]
WUAP,
#[serde(rename = "WUAP-AUT")]
#[strum(to_string = "WUAP-AUT", serialize = "wuap-aut")]
WUAPAUT,
#[serde(rename = "WUAP-RUS")]
#[strum(to_string = "WUAP-RUS", serialize = "wuap-rus")]
WUAPRUS,
#[serde(rename = "WUAP-SVK")]
#[strum(to_string = "WUAP-SVK", serialize = "wuap-svk")]
WUAPSVK,
#[serde(rename = "WUAP-USA")]
#[strum(to_string = "WUAP-USA", serialize = "wuap-usa")]
WUAPUSA,
#[strum(to_string = "XPC", serialize = "xpc")]
XPC,
#[serde(rename = "XPC-Poland")]
#[strum(to_string = "XPC-Poland", serialize = "xpc-poland")]
XPCPoland,
#[strum(to_string = "XPS", serialize = "xps")]
XPS,
}
impl Federation {
pub fn is_fully_tested(self, date: Date) -> bool {
const FULLY_TESTED: bool = true;
match self {
Federation::_365Strong => false,
Federation::AAP => false,
Federation::AAPLF => FULLY_TESTED,
Federation::AAU => {
if date.year() >= 1995 {
FULLY_TESTED
} else {
false
}
}
Federation::ACHIPO => false,
Federation::ACPA => false,
Federation::ADAU => FULLY_TESTED,
Federation::ADFPA => FULLY_TESTED,
Federation::ADFPF => FULLY_TESTED,
Federation::AEP => FULLY_TESTED,
Federation::AFPF => false,
Federation::AfricanPF => FULLY_TESTED,
Federation::AIWBPA => FULLY_TESTED,
Federation::AmericanSA => false,
Federation::ANPPC => false,
Federation::APA => false,
Federation::APC => false,
Federation::APF => false,
Federation::APP => false,
Federation::APU => FULLY_TESTED,
Federation::APUA => FULLY_TESTED,
Federation::ARPL => false,
Federation::AsianPF => FULLY_TESTED,
Federation::AusDFPF => FULLY_TESTED,
Federation::AusPF => false,
Federation::AusPL => false,
Federation::AWF => false,
Federation::BahamasPF => FULLY_TESTED,
Federation::BAWLA => FULLY_TESTED,
Federation::BB => false,
Federation::BDFPA => FULLY_TESTED,
Federation::BDFPF => FULLY_TESTED,
Federation::BelPF => FULLY_TESTED,
Federation::BP => FULLY_TESTED,
Federation::BPA => FULLY_TESTED,
Federation::BPC => false,
Federation::BPF => false,
Federation::BPO => false,
Federation::BPU => false,
Federation::BVDG => FULLY_TESTED,
Federation::BVDK => FULLY_TESTED,
Federation::CanadaUA => false,
Federation::CAPO => false,
Federation::CAPONZ => false,
Federation::CAST => false,
Federation::CBLB => FULLY_TESTED,
Federation::CBPL => false,
Federation::ChinaPA => false,
Federation::CNFA => FULLY_TESTED,
Federation::ColPF => FULLY_TESTED,
Federation::CommonwealthPF => FULLY_TESTED,
Federation::CONBRAP => false,
Federation::CPA => false,
Federation::CPC => false,
Federation::CPF => false,
Federation::CPL => false,
Federation::CPO => false,
Federation::CPU => FULLY_TESTED,
Federation::CSST => FULLY_TESTED,
Federation::DBKV => false,
Federation::DFPFNL => FULLY_TESTED,
Federation::CzechiaUA => false,
Federation::DSF => FULLY_TESTED,
Federation::EJTL => FULLY_TESTED,
Federation::EPC => false,
Federation::EnglandUA => false,
Federation::EPA => FULLY_TESTED,
Federation::EPF => FULLY_TESTED,
Federation::ESDT => false,
Federation::FALPO => FULLY_TESTED,
Federation::FBPD => false,
Federation::FCA => false,
Federation::FCST => false,
Federation::FECAPOLIF => FULLY_TESTED,
Federation::FECHIPO => FULLY_TESTED,
Federation::Fedepotencia => FULLY_TESTED,
Federation::FEMEPO => FULLY_TESTED,
Federation::FEPOA => false,
Federation::FESUPO => FULLY_TESTED,
Federation::FFForce => FULLY_TESTED,
Federation::FFHMFAC => FULLY_TESTED,
Federation::FHSAA => FULLY_TESTED,
Federation::FIAP => FULLY_TESTED,
Federation::FIPL => FULLY_TESTED,
Federation::FPO => false,
Federation::FPPR => FULLY_TESTED,
Federation::FPR => FULLY_TESTED,
Federation::FRPL => FULLY_TESTED,
Federation::FSFA => FULLY_TESTED,
Federation::GDFPF => FULLY_TESTED,
Federation::GermanyUA => false,
Federation::GFP => false,
Federation::GlobalPU => false,
Federation::GPA => false,
Federation::GPACRO => false,
Federation::GPC => false,
Federation::GPCAUS => false,
Federation::GPCGB => false,
Federation::GPCGUPU => false,
Federation::GPCIRL => false,
Federation::GPCISR => false,
Federation::GPCLAT => false,
Federation::GPCNZ => false,
Federation::GPCPOL => false,
Federation::GPCUKR => false,
Federation::GPCUSA => false,
Federation::GPCRUS => false,
Federation::GPCWUAPCRO => false,
Federation::GPF => false,
Federation::GPU => false,
Federation::GRAWA => false,
Federation::GSFBelarus => false,
Federation::Hardcore => false,
Federation::CroatiaUA => false,
Federation::HKWPA => FULLY_TESTED,
Federation::HPC => false,
Federation::HPLS => FULLY_TESTED,
Federation::HPLSUA => false,
Federation::HPO => false,
Federation::HTPL => FULLY_TESTED,
Federation::Hunpower => FULLY_TESTED,
Federation::IBSA => FULLY_TESTED,
Federation::IDFPA => FULLY_TESTED,
Federation::IDFPF => FULLY_TESTED,
Federation::IKF => false,
Federation::GPCCAN => false,
Federation::HKPF => FULLY_TESTED,
Federation::ILPA => false,
Federation::INSA => false,
Federation::IPA => false,
Federation::IPAAZE => false,
Federation::IPC => false,
Federation::IPF => FULLY_TESTED,
Federation::IPL => false,
Federation::IPLNZ => false,
Federation::IPLSpain => false,
Federation::IranBBF => FULLY_TESTED,
Federation::IrelandUA => false,
Federation::IrishPF => FULLY_TESTED,
Federation::IrishPO => false,
Federation::IronBoy => FULLY_TESTED,
Federation::IRP => false,
Federation::JPA => FULLY_TESTED,
Federation::KDKS => FULLY_TESTED,
Federation::KNKFSP => FULLY_TESTED,
Federation::KPF => FULLY_TESTED,
Federation::KRAFT => FULLY_TESTED,
Federation::KuwaitPL => false,
Federation::LFPH => FULLY_TESTED,
Federation::LGBT => false,
Federation::LHSPLA => false,
Federation::LJTF => FULLY_TESTED,
Federation::LMP => false,
Federation::LPF => FULLY_TESTED,
Federation::MalaysiaUA => false,
Federation::MDFPA => FULLY_TESTED,
Federation::MDFPF => FULLY_TESTED,
Federation::MHSAA => false,
Federation::MHSPLA => false,
Federation::MM => false,
Federation::MMAUS => false,
Federation::MPA => false,
Federation::NAP => false,
Federation::NAPF => FULLY_TESTED,
Federation::NASA => FULLY_TESTED,
Federation::NaturalPA => FULLY_TESTED,
Federation::NauruPF => FULLY_TESTED,
Federation::NextGenPF => false,
Federation::NIPF => FULLY_TESTED,
Federation::NORCAL => FULLY_TESTED,
Federation::NordicPF => FULLY_TESTED,
Federation::NPA => false,
Federation::NPB => FULLY_TESTED,
Federation::NSF => FULLY_TESTED,
Federation::NZPF => FULLY_TESTED,
Federation::NZAWLA => FULLY_TESTED,
Federation::NZUA => false,
Federation::OceaniaPF => FULLY_TESTED,
Federation::OceaniaPO => false,
Federation::ORPF => FULLY_TESTED,
Federation::OEVK => FULLY_TESTED,
Federation::PA => FULLY_TESTED,
Federation::PoliceAL => false,
Federation::PowerLeague => false,
Federation::PAGermany => false,
Federation::PAP => FULLY_TESTED,
Federation::PHPL => false,
Federation::PI => FULLY_TESTED,
Federation::PLH => false,
Federation::PLSS => FULLY_TESTED,
Federation::PLZS => FULLY_TESTED,
Federation::PNGPF => FULLY_TESTED,
Federation::PolandUA => false,
Federation::PRIDE => false,
Federation::ProRaw => false,
Federation::PRPA => false,
Federation::PZKFiTS => FULLY_TESTED,
Federation::RAW => FULLY_TESTED,
Federation::RAWCAN => FULLY_TESTED,
Federation::RAWIceland => false,
Federation::RawIronPL => {
if date >= Date::from_parts(2020, 06, 20) {
false
} else {
FULLY_TESTED
}
}
Federation::RawPower => false,
Federation::RAWUKR => FULLY_TESTED,
Federation::RAWU => false,
Federation::RDFPF => FULLY_TESTED,
Federation::RhinoPC => false,
Federation::RPS => false,
Federation::RPU => false,
Federation::RUPC => false,
Federation::RussiaUA => false,
Federation::SAAS => false,
Federation::SADFPA => FULLY_TESTED,
Federation::SAFKST => FULLY_TESTED,
Federation::SAPF => FULLY_TESTED,
Federation::SAST => false,
Federation::ScottishPL => FULLY_TESTED,
Federation::SCI => false,
Federation::SCT => false,
Federation::SDFPF => FULLY_TESTED,
Federation::SLP => false,
Federation::SPA => false,
Federation::SPF => false,
Federation::SPFIRL => false,
Federation::SPSS => false,
Federation::SSA => false,
Federation::SSF => FULLY_TESTED,
Federation::SVNL => FULLY_TESTED,
Federation::SwissPL => false,
Federation::ThaiPF => FULLY_TESTED,
Federation::THSPA => FULLY_TESTED,
Federation::THSWPA => FULLY_TESTED,
Federation::TPSSF => FULLY_TESTED,
Federation::UDFPF => FULLY_TESTED,
Federation::UgandaPF => FULLY_TESTED,
Federation::UkrainePA => false,
Federation::UkrainePO => false,
Federation::UnifiedSA => false,
Federation::UPA => false,
Federation::UPC => false,
Federation::UPCGermany => false,
Federation::UkrainePF => FULLY_TESTED,
Federation::UPL => false,
Federation::USABA => FULLY_TESTED,
Federation::USABPA => false,
Federation::USAUA => false,
Federation::USAPL => FULLY_TESTED,
Federation::USARawBP => false,
Federation::USMilAbroad => false,
Federation::USPS => false,
Federation::USPF => false,
Federation::USPA => false,
Federation::USPC => false,
Federation::USSF => false,
Federation::USSports => false,
Federation::USVIPF => FULLY_TESTED,
Federation::VDFPA => FULLY_TESTED,
Federation::VGPF => FULLY_TESTED,
Federation::VietnamPA => false,
Federation::Vityaz => false,
Federation::VPF => FULLY_TESTED,
Federation::WABDL => FULLY_TESTED,
Federation::WAIA => false,
Federation::WarriorPLF => false,
Federation::WDFPF => FULLY_TESTED,
Federation::WelshPA => FULLY_TESTED,
Federation::WNPF => FULLY_TESTED,
Federation::WP => FULLY_TESTED,
Federation::WPChina => FULLY_TESTED,
Federation::WPNauru => FULLY_TESTED,
Federation::WPNiue => FULLY_TESTED,
Federation::WPUSA => FULLY_TESTED,
Federation::WPA => false,
Federation::WPAGEO => false,
Federation::WPARUS => false,
Federation::WPAU => false,
Federation::WBC => false,
Federation::WPC => false,
Federation::WPCCP => false,
Federation::WPCEgypt => false,
Federation::WPCFinland => false,
Federation::WPCFrance => false,
Federation::WPCGermany => false,
Federation::WPCIceland => false,
Federation::WPCIndia => false,
Federation::WPCIsrael => false,
Federation::WPCItaly => false,
Federation::WPCKAZ => false,
Federation::WPCKGZ => false,
Federation::WPCLatvia => false,
Federation::WPCMoldova => false,
Federation::WPCPortugal => false,
Federation::WPCPoland => false,
Federation::WPCRUS => false,
Federation::WPCSA => false,
Federation::WPCUKR => false,
Federation::WPF => false,
Federation::WPFG => false,
Federation::WPFKRAWA => false,
Federation::WPFRUS => false,
Federation::WPLeague => false,
Federation::WPNZ => FULLY_TESTED,
Federation::WPPLBelarus => false,
Federation::WPPLMexico => false,
Federation::WPPLUkraine => false,
Federation::WPPO => FULLY_TESTED,
Federation::WPRO => false,
Federation::WPSF => false,
Federation::WPSFBelarus => false,
Federation::WPU => false,
Federation::WPUF => false,
Federation::WRPF => false,
Federation::WRPFAUS => false,
Federation::WRPFBelarus => false,
Federation::WRPFBrazil => false,
Federation::WRPFCAN => false,
Federation::WRPFHUN => false,
Federation::WRPFIceland => false,
Federation::WRPFIreland => false,
Federation::WRPFItaly => false,
Federation::WRPFKAZ => false,
Federation::WRPFLithuania => false,
Federation::WRPFPOL => false,
Federation::WRPFPortugal => false,
Federation::WRPFSlovakia => false,
Federation::WRPFSlovenia => false,
Federation::WRPFSpain => false,
Federation::WRPFSRB => false,
Federation::WRPFSweden => false,
Federation::WRPFUK => false,
Federation::WSHSPL => false,
Federation::WUAP => false,
Federation::WUAPAUT => false,
Federation::WUAPRUS => false,
Federation::WUAPSVK => false,
Federation::WUAPUSA => false,
Federation::XPC => false,
Federation::XPCPoland => false,
Federation::XPS => false,
}
}
pub fn home_country(self) -> Option<Country> {
match self {
Federation::_365Strong => Some(Country::USA),
Federation::AAP => Some(Country::Argentina),
Federation::AAPLF => Some(Country::Australia),
Federation::AAU => Some(Country::USA),
Federation::ACHIPO => Some(Country::Chile),
Federation::ACPA => None,
Federation::ADAU => Some(Country::USA),
Federation::ADFPA => Some(Country::USA),
Federation::ADFPF => Some(Country::USA),
Federation::AEP => Some(Country::Spain),
Federation::AFPF => Some(Country::USA),
Federation::AfricanPF => None,
Federation::AIWBPA => Some(Country::Indonesia),
Federation::AmericanSA => Some(Country::USA),
Federation::ANPPC => Some(Country::USA),
Federation::APA => Some(Country::USA),
Federation::APC => Some(Country::USA),
Federation::APF => Some(Country::USA),
Federation::APP => Some(Country::Paraguay),
Federation::APU => Some(Country::Australia),
Federation::APUA => Some(Country::Argentina),
Federation::ARPL => Some(Country::Argentina),
Federation::AsianPF => None,
Federation::AusDFPF => Some(Country::Australia),
Federation::AusPF => Some(Country::Australia),
Federation::AusPL => Some(Country::Australia),
Federation::AWF => Some(Country::Australia),
Federation::BahamasPF => Some(Country::Bahamas),
Federation::BAWLA => Some(Country::UK),
Federation::BB => Some(Country::Russia),
Federation::BDFPA => Some(Country::UK),
Federation::BDFPF => Some(Country::Belgium),
Federation::BelPF => Some(Country::Belarus),
Federation::BP => Some(Country::UK),
Federation::BPA => Some(Country::Belize),
Federation::BPC => Some(Country::UK),
Federation::BPF => Some(Country::UK),
Federation::BPO => Some(Country::UK),
Federation::BPU => Some(Country::UK),
Federation::BVDG => Some(Country::Germany),
Federation::BVDK => Some(Country::Germany),
Federation::CanadaUA => Some(Country::Canada),
Federation::CAPO => Some(Country::Australia),
Federation::CAPONZ => Some(Country::NewZealand),
Federation::CAST => Some(Country::Czechia),
Federation::CBLB => Some(Country::Brazil),
Federation::CBPL => Some(Country::USA),
Federation::ChinaPA => Some(Country::China),
Federation::CNFA => Some(Country::France),
Federation::ColPF => Some(Country::Colombia),
Federation::CommonwealthPF => None,
Federation::CONBRAP => Some(Country::Brazil),
Federation::CPA => Some(Country::Canada),
Federation::CPC => Some(Country::Canada),
Federation::CPF => Some(Country::Canada),
Federation::CPL => Some(Country::Canada),
Federation::CPO => Some(Country::Canada),
Federation::CPU => Some(Country::Canada),
Federation::CSST => Some(Country::Czechia),
Federation::DBKV => Some(Country::Germany),
Federation::DFPFNL => Some(Country::Netherlands),
Federation::CzechiaUA => Some(Country::Czechia),
Federation::DSF => Some(Country::Denmark),
Federation::EJTL => Some(Country::Estonia),
Federation::EPC => Some(Country::Canada),
Federation::EnglandUA => Some(Country::England),
Federation::EPA => Some(Country::England),
Federation::EPF => None,
Federation::ESDT => Some(Country::Greece),
Federation::FALPO => Some(Country::Argentina),
Federation::FBPD => Some(Country::Russia),
Federation::FCA => Some(Country::USA),
Federation::FCST => Some(Country::Czechia),
Federation::FECAPOLIF => Some(Country::Cameroon),
Federation::FECHIPO => Some(Country::Chile),
Federation::Fedepotencia => Some(Country::Guatemala),
Federation::FEMEPO => Some(Country::Mexico),
Federation::FEPOA => Some(Country::Argentina),
Federation::FESUPO => None,
Federation::FFForce => Some(Country::France),
Federation::FFHMFAC => Some(Country::France),
Federation::FHSAA => Some(Country::USA),
Federation::FIAP => Some(Country::Italy),
Federation::FIPL => Some(Country::Italy),
Federation::FPO => Some(Country::Finland),
Federation::FPPR => Some(Country::PuertoRico),
Federation::FPR => Some(Country::Russia),
Federation::FRPL => Some(Country::Romania),
Federation::FSFA => Some(Country::France),
Federation::GDFPF => Some(Country::Germany),
Federation::GermanyUA => Some(Country::Germany),
Federation::GFP => Some(Country::Russia),
Federation::GlobalPU => Some(Country::Ukraine),
Federation::GPA => None,
Federation::GPACRO => Some(Country::Croatia),
Federation::GPC => None,
Federation::GPCAUS => Some(Country::Australia),
Federation::GPCCAN => Some(Country::Canada),
Federation::GPCGB => Some(Country::UK),
Federation::GPCGUPU => Some(Country::Ukraine),
Federation::GPCIRL => Some(Country::Ireland),
Federation::GPCISR => Some(Country::Israel),
Federation::GPCLAT => Some(Country::Latvia),
Federation::GPCNZ => Some(Country::NewZealand),
Federation::GPCPOL => Some(Country::Poland),
Federation::GPCUKR => Some(Country::Ukraine),
Federation::GPCUSA => Some(Country::USA),
Federation::GPCRUS => Some(Country::Russia),
Federation::GPCWUAPCRO => Some(Country::Croatia),
Federation::GPF => None,
Federation::GPU => Some(Country::Germany),
Federation::GRAWA => Some(Country::Germany),
Federation::GSFBelarus => Some(Country::Belarus),
Federation::Hardcore => Some(Country::USA),
Federation::HKPF => Some(Country::HongKong),
Federation::CroatiaUA => Some(Country::Croatia),
Federation::HKWPA => Some(Country::HongKong),
Federation::HPC => Some(Country::Hungary),
Federation::HPLS => Some(Country::Croatia),
Federation::HPLSUA => Some(Country::Croatia),
Federation::HPO => Some(Country::Croatia),
Federation::HTPL => Some(Country::China),
Federation::Hunpower => Some(Country::Hungary),
Federation::IBSA => None,
Federation::IDFPA => Some(Country::Ireland),
Federation::IDFPF => Some(Country::Ireland),
Federation::IKF => Some(Country::Iceland),
Federation::ILPA => Some(Country::Israel),
Federation::INSA => Some(Country::USA),
Federation::IPA => Some(Country::USA),
Federation::IPAAZE => Some(Country::Azerbaijan),
Federation::IPC => Some(Country::Israel),
Federation::IPF => None,
Federation::IPL => None,
Federation::IPLNZ => Some(Country::NewZealand),
Federation::IPLSpain => Some(Country::Spain),
Federation::IranBBF => Some(Country::Iran),
Federation::IrelandUA => Some(Country::Ireland),
Federation::IrishPF => Some(Country::Ireland),
Federation::IrishPO => Some(Country::Ireland),
Federation::IronBoy => Some(Country::USA),
Federation::IRP => None,
Federation::JPA => Some(Country::Japan),
Federation::KDKS => Some(Country::Switzerland),
Federation::KNKFSP => Some(Country::Netherlands),
Federation::KPF => Some(Country::Kazakhstan),
Federation::KRAFT => Some(Country::Iceland),
Federation::KuwaitPL => Some(Country::Kuwait),
Federation::LFPH => Some(Country::Belgium),
Federation::LGBT => None,
Federation::LHSPLA => Some(Country::USA),
Federation::LJTF => Some(Country::Lithuania),
Federation::LMP => Some(Country::Mexico),
Federation::LPF => Some(Country::Latvia),
Federation::MalaysiaUA => Some(Country::Malaysia),
Federation::MHSAA => Some(Country::USA),
Federation::MDFPA => Some(Country::Malta),
Federation::MDFPF => Some(Country::Moldova),
Federation::MHSPLA => Some(Country::USA),
Federation::MM => Some(Country::USA),
Federation::MMAUS => Some(Country::Australia),
Federation::MPA => Some(Country::Malaysia),
Federation::NAP => Some(Country::Russia),
Federation::NAPF => None,
Federation::NASA => Some(Country::USA),
Federation::NaturalPA => Some(Country::USA),
Federation::NauruPF => Some(Country::Nauru),
Federation::NextGenPF => Some(Country::USA),
Federation::NORCAL => Some(Country::USA),
Federation::NIPF => Some(Country::NorthernIreland),
Federation::NordicPF => None,
Federation::NPA => Some(Country::Israel),
Federation::NPB => Some(Country::Netherlands),
Federation::NSF => Some(Country::Norway),
Federation::NZPF => Some(Country::NewZealand),
Federation::NZAWLA => Some(Country::NewZealand),
Federation::NZUA => Some(Country::NewZealand),
Federation::OceaniaPF => None,
Federation::OceaniaPO => Some(Country::Australia),
Federation::ORPF => None,
Federation::OEVK => Some(Country::Austria),
Federation::PA => Some(Country::Australia),
Federation::PoliceAL => Some(Country::USA),
Federation::PowerLeague => Some(Country::Argentina),
Federation::PAGermany => Some(Country::Germany),
Federation::PAP => Some(Country::Philippines),
Federation::PHPL => Some(Country::Philippines),
Federation::PI => Some(Country::India),
Federation::PLH => Some(Country::Netherlands),
Federation::PLSS => Some(Country::Serbia),
Federation::PLZS => Some(Country::Slovenia),
Federation::PNGPF => Some(Country::PapuaNewGuinea),
Federation::PolandUA => Some(Country::Poland),
Federation::PRIDE => Some(Country::USA),
Federation::ProRaw => Some(Country::Australia),
Federation::PRPA => Some(Country::USA),
Federation::PZKFiTS => Some(Country::Poland),
Federation::RAW => Some(Country::USA),
Federation::RAWCAN => Some(Country::Canada),
Federation::RAWIceland => Some(Country::Iceland),
Federation::RawIronPL => Some(Country::USA),
Federation::RawPower => Some(Country::Finland),
Federation::RAWUKR => Some(Country::Ukraine),
Federation::RAWU => Some(Country::USA),
Federation::RDFPF => Some(Country::Russia),
Federation::RhinoPC => Some(Country::SouthAfrica),
Federation::RPS => Some(Country::USA),
Federation::RPU => Some(Country::Russia),
Federation::RUPC => Some(Country::USA),
Federation::RussiaUA => Some(Country::Russia),
Federation::SAAS => Some(Country::USA),
Federation::SADFPA => Some(Country::Australia),
Federation::SAFKST => Some(Country::Slovakia),
Federation::SAPF => Some(Country::SouthAfrica),
Federation::SAST => Some(Country::Slovakia),
Federation::ScottishPL => Some(Country::Scotland),
Federation::SCI => Some(Country::USA),
Federation::SCT => Some(Country::Russia),
Federation::SDFPF => Some(Country::Switzerland),
Federation::SLP => Some(Country::USA),
Federation::SPA => Some(Country::Singapore),
Federation::SPF => Some(Country::USA),
Federation::SPFIRL => Some(Country::Ireland),
Federation::SPSS => Some(Country::Russia),
Federation::SSA => Some(Country::USA),
Federation::SSF => Some(Country::Sweden),
Federation::SVNL => Some(Country::Finland),
Federation::SwissPL => Some(Country::Switzerland),
Federation::ThaiPF => Some(Country::Thailand),
Federation::THSPA => Some(Country::USA),
Federation::THSWPA => Some(Country::USA),
Federation::TPSSF => Some(Country::Turkey),
Federation::UDFPF => Some(Country::Ukraine),
Federation::UgandaPF => Some(Country::Uganda),
Federation::UkrainePA => Some(Country::Ukraine),
Federation::UkrainePO => Some(Country::Ukraine),
Federation::UnifiedSA => Some(Country::USA),
Federation::UPA => Some(Country::USA),
Federation::UPC => Some(Country::Ukraine),
Federation::UPCGermany => Some(Country::Germany),
Federation::UkrainePF => Some(Country::Ukraine),
Federation::UPL => Some(Country::Ukraine),
Federation::USABA => Some(Country::USA),
Federation::USABPA => Some(Country::USA),
Federation::USAUA => Some(Country::USA),
Federation::USAPL => Some(Country::USA),
Federation::USARawBP => Some(Country::USA),
Federation::USMilAbroad => Some(Country::USA),
Federation::USPS => Some(Country::Serbia),
Federation::USPF => Some(Country::USA),
Federation::USPA => Some(Country::USA),
Federation::USPC => Some(Country::USA),
Federation::USSF => Some(Country::USA),
Federation::USSports => Some(Country::USA),
Federation::USVIPF => Some(Country::USVirginIslands),
Federation::VDFPA => Some(Country::Australia),
Federation::VGPF => Some(Country::Belgium),
Federation::VietnamPA => Some(Country::Vietnam),
Federation::Vityaz => Some(Country::Russia),
Federation::VPF => Some(Country::Vietnam),
Federation::WABDL => Some(Country::USA),
Federation::WAIA => Some(Country::USA),
Federation::WarriorPLF => Some(Country::USA),
Federation::WBC => Some(Country::USA),
Federation::WDFPF => None,
Federation::WelshPA => Some(Country::Wales),
Federation::WP => None,
Federation::WPChina => Some(Country::China),
Federation::WPNauru => Some(Country::Nauru),
Federation::WPNiue => Some(Country::Niue),
Federation::WPUSA => Some(Country::USA),
Federation::WPA => None,
Federation::WPAGEO => Some(Country::Georgia),
Federation::WPARUS => Some(Country::Russia),
Federation::WPAU => Some(Country::Ukraine),
Federation::WPC => None,
Federation::WPCCP => Some(Country::Canada),
Federation::WPCEgypt => Some(Country::Egypt),
Federation::WPCFinland => Some(Country::Finland),
Federation::WPCFrance => Some(Country::France),
Federation::WPCGermany => Some(Country::Germany),
Federation::WPCIceland => Some(Country::Iceland),
Federation::WPCIndia => Some(Country::India),
Federation::WPCIsrael => Some(Country::Israel),
Federation::WPCItaly => Some(Country::Italy),
Federation::WPCKAZ => Some(Country::Kazakhstan),
Federation::WPCKGZ => Some(Country::Kyrgyzstan),
Federation::WPCLatvia => Some(Country::Latvia),
Federation::WPCMoldova => Some(Country::Moldova),
Federation::WPCPortugal => Some(Country::Portugal),
Federation::WPCPoland => Some(Country::Poland),
Federation::WPCRUS => Some(Country::Russia),
Federation::WPCSA => Some(Country::SouthAfrica),
Federation::WPCUKR => Some(Country::Ukraine),
Federation::WPF => None,
Federation::WPFG => None,
Federation::WPFKRAWA => Some(Country::Ukraine),
Federation::WPFRUS => Some(Country::Russia),
Federation::WPLeague => Some(Country::Ukraine),
Federation::WPNZ => Some(Country::NewZealand),
Federation::WPPLBelarus => Some(Country::Belarus),
Federation::WPPLMexico => Some(Country::Mexico),
Federation::WPPLUkraine => Some(Country::Ukraine),
Federation::WPPO => None,
Federation::WPRO => Some(Country::Ukraine),
Federation::WPSF => None,
Federation::WPSFBelarus => Some(Country::Belarus),
Federation::WPU => None,
Federation::WPUF => Some(Country::Ukraine),
Federation::WNPF => Some(Country::USA),
Federation::WRPF => Some(Country::Russia),
Federation::WRPFAUS => Some(Country::Australia),
Federation::WRPFBelarus => Some(Country::Belarus),
Federation::WRPFBrazil => Some(Country::Brazil),
Federation::WRPFCAN => Some(Country::Canada),
Federation::WRPFHUN => Some(Country::Hungary),
Federation::WRPFIceland => Some(Country::Iceland),
Federation::WRPFIreland => Some(Country::Ireland),
Federation::WRPFItaly => Some(Country::Italy),
Federation::WRPFKAZ => Some(Country::Kazakhstan),
Federation::WRPFLithuania => Some(Country::Lithuania),
Federation::WRPFPOL => Some(Country::Poland),
Federation::WRPFPortugal => Some(Country::Portugal),
Federation::WRPFSlovakia => Some(Country::Slovakia),
Federation::WRPFSlovenia => Some(Country::Slovenia),
Federation::WRPFSpain => Some(Country::Spain),
Federation::WRPFSRB => Some(Country::Serbia),
Federation::WRPFSweden => Some(Country::Sweden),
Federation::WRPFUK => Some(Country::UK),
Federation::WSHSPL => Some(Country::USA),
Federation::WUAP => None,
Federation::WUAPAUT => Some(Country::Austria),
Federation::WUAPRUS => Some(Country::Russia),
Federation::WUAPSVK => Some(Country::Slovakia),
Federation::WUAPUSA => Some(Country::USA),
Federation::XPC => Some(Country::USA),
Federation::XPCPoland => Some(Country::Poland),
Federation::XPS => Some(Country::USA),
}
}
pub fn sanctioning_body(self, date: Date) -> Option<Federation> {
match self {
Federation::_365Strong => None,
Federation::AAP => Some(Federation::GPA),
Federation::AAPLF => Some(Federation::IPF),
Federation::AAU => None,
Federation::ACHIPO => Some(Federation::GPA),
Federation::ACPA => Some(Federation::WPA),
Federation::ADAU => None,
Federation::ADFPA => {
if date >= Date::from_parts(1997, 12, 05) {
Some(Federation::IPF)
} else {
None
}
}
Federation::ADFPF => Some(Federation::WDFPF),
Federation::AEP => Some(Federation::IPF),
Federation::AFPF => None,
Federation::AfricanPF => Some(Federation::IPF),
Federation::AIWBPA => Some(Federation::IPF),
Federation::AmericanSA => None,
Federation::ANPPC => None,
Federation::APA => Some(Federation::WPA),
Federation::APC => Some(Federation::WUAP),
Federation::APF => Some(Federation::WPC),
Federation::APP => Some(Federation::GPA),
Federation::APU => Some(Federation::IPF),
Federation::APUA => Some(Federation::WABDL),
Federation::ARPL => Some(Federation::IPL),
Federation::AsianPF => Some(Federation::IPF),
Federation::AusDFPF => Some(Federation::WDFPF),
Federation::AusPF => Some(Federation::IPF),
Federation::AusPL => Some(Federation::IPL),
Federation::AWF => None,
Federation::BahamasPF => Some(Federation::IPF),
Federation::BAWLA => Some(Federation::IPF),
Federation::BB => None,
Federation::BDFPA => Some(Federation::WDFPF),
Federation::BDFPF => Some(Federation::WDFPF),
Federation::BelPF => Some(Federation::IPF),
Federation::BP => Some(Federation::IPF),
Federation::BPA => Some(Federation::IPF),
Federation::BPC => {
if date.year() >= 2012 {
None
} else {
Some(Federation::WPC)
}
}
Federation::BPF => Some(Federation::WRPF),
Federation::BPO => Some(Federation::WPF),
Federation::BPU => {
if date.year() >= 2013 {
Some(Federation::WPC)
} else {
None
}
}
Federation::BVDG => Some(Federation::IPF),
Federation::BVDK => Some(Federation::IPF),
Federation::CanadaUA => None,
Federation::CAPO => Some(Federation::GPA),
Federation::CAPONZ => Some(Federation::GPA),
Federation::CAST => Some(Federation::GPC),
Federation::CBLB => Some(Federation::IPF),
Federation::CBPL => None,
Federation::ChinaPA => Some(Federation::GPA),
Federation::CNFA => Some(Federation::IPF),
Federation::ColPF => Some(Federation::IPF),
Federation::CommonwealthPF => Some(Federation::IPF),
Federation::CONBRAP => Some(Federation::GPC),
Federation::CPA => Some(Federation::WPA),
Federation::CPC => Some(Federation::WPC),
Federation::CPF => {
if date >= Date::from_parts(2020, 06, 17) {
None
} else {
Some(Federation::WPC)
}
}
Federation::CPL => Some(Federation::IPL),
Federation::CPO => Some(Federation::WPC),
Federation::CPU => Some(Federation::IPF),
Federation::CSST => Some(Federation::IPF),
Federation::CzechiaUA => None,
Federation::DBKV => None,
Federation::DFPFNL => Some(Federation::WDFPF),
Federation::DSF => Some(Federation::IPF),
Federation::EJTL => Some(Federation::IPF),
Federation::EPC => {
if date.year() >= 2018 {
None
} else {
Some(Federation::IPL)
}
}
Federation::EnglandUA => None,
Federation::EPA => Some(Federation::IPF),
Federation::EPF => Some(Federation::IPF),
Federation::ESDT => None,
Federation::FALPO => Some(Federation::IPF),
Federation::FBPD => None,
Federation::FCA => None,
Federation::FCST => Some(Federation::GPC),
Federation::FECAPOLIF => Some(Federation::IPF),
Federation::FECHIPO => Some(Federation::IPF),
Federation::Fedepotencia => Some(Federation::IPF),
Federation::FEMEPO => Some(Federation::IPF),
Federation::FEPOA => Some(Federation::GPC),
Federation::FESUPO => Some(Federation::IPF),
Federation::FFForce => Some(Federation::IPF),
Federation::FFHMFAC => Some(Federation::IPF),
Federation::FHSAA => None,
Federation::FIAP => None,
Federation::FIPL => Some(Federation::IPF),
Federation::FPO => Some(Federation::IPA),
Federation::FPPR => Some(Federation::IPF),
Federation::FPR => Some(Federation::IPF),
Federation::FRPL => Some(Federation::IPF),
Federation::FSFA => Some(Federation::WDFPF),
Federation::GDFPF => Some(Federation::WDFPF),
Federation::GermanyUA => None,
Federation::GFP => None,
Federation::GlobalPU => Some(Federation::GPC),
Federation::GPA => Some(Federation::GPA),
Federation::GPACRO => Some(Federation::GPA),
Federation::GPC => Some(Federation::GPC),
Federation::GPCAUS => Some(Federation::GPC),
Federation::GPCCAN => Some(Federation::GPC),
Federation::GPCGB => Some(Federation::GPC),
Federation::GPCGUPU => Some(Federation::GPC),
Federation::GPCIRL => Some(Federation::GPC),
Federation::GPCISR => Some(Federation::GPC),
Federation::GPCLAT => Some(Federation::GPC),
Federation::GPCNZ => Some(Federation::GPC),
Federation::GPCPOL => Some(Federation::GPC),
Federation::GPCUKR => Some(Federation::GPC),
Federation::GPCUSA => Some(Federation::GPC),
Federation::GPCRUS => Some(Federation::GPC),
Federation::GPCWUAPCRO => Some(Federation::GPC),
Federation::GPF => None,
Federation::GPU => Some(Federation::WPU),
Federation::GRAWA => Some(Federation::IRP),
Federation::GSFBelarus => None,
Federation::Hardcore => None,
Federation::CroatiaUA => None,
Federation::HKPF => Some(Federation::WP),
Federation::HKWPA => Some(Federation::IPF),
Federation::HPC => Some(Federation::WPC),
Federation::HPLS => Some(Federation::IPF),
Federation::HPLSUA => None,
Federation::HPO => None,
Federation::HTPL => None,
Federation::Hunpower => Some(Federation::IPF),
Federation::IBSA => None,
Federation::IDFPA => None,
Federation::IDFPF => Some(Federation::WDFPF),
Federation::IKF => Some(Federation::GPC),
Federation::ILPA => Some(Federation::GPA),
Federation::INSA => None,
Federation::IPA => None,
Federation::IPAAZE => Some(Federation::IPA),
Federation::IPC => None,
Federation::IPF => Some(Federation::IPF),
Federation::IPL => Some(Federation::IPL),
Federation::IPLNZ => Some(Federation::IPL),
Federation::IPLSpain => Some(Federation::IPL),
Federation::IranBBF => Some(Federation::IPF),
Federation::IrelandUA => None,
Federation::IrishPF => Some(Federation::IPF),
Federation::IrishPO => Some(Federation::IPL),
Federation::IronBoy => None,
Federation::IRP => None,
Federation::JPA => Some(Federation::IPF),
Federation::KDKS => Some(Federation::IPF),
Federation::KNKFSP => Some(Federation::IPF),
Federation::KPF => Some(Federation::IPF),
Federation::KRAFT => Some(Federation::IPF),
Federation::KuwaitPL => Some(Federation::IPL),
Federation::LFPH => Some(Federation::IPF),
Federation::LGBT => None,
Federation::LHSPLA => None,
Federation::LJTF => Some(Federation::IPF),
Federation::LMP => Some(Federation::IPL),
Federation::LPF => Some(Federation::IPF),
Federation::MalaysiaUA => None,
Federation::MDFPA => Some(Federation::WDFPF),
Federation::MDFPF => Some(Federation::WDFPF),
Federation::MHSAA => None,
Federation::MHSPLA => None,
Federation::MM => None,
Federation::MMAUS => Some(Federation::MM),
Federation::MPA => None,
Federation::NAP => Some(Federation::IPA),
Federation::NAPF => Some(Federation::IPF),
Federation::NASA => None,
Federation::NaturalPA => None,
Federation::NauruPF => Some(Federation::IPF),
Federation::NextGenPF => None,
Federation::NIPF => Some(Federation::IPF),
Federation::NORCAL => None,
Federation::NordicPF => Some(Federation::IPF),
Federation::NPA => None,
Federation::NPB => Some(Federation::IPF),
Federation::NSF => Some(Federation::IPF),
Federation::NZPF => Some(Federation::IPF),
Federation::NZAWLA => Some(Federation::IPF),
Federation::NZUA => None,
Federation::OceaniaPF => {
if date.year() >= 2018 {
Some(Federation::WP)
} else {
Some(Federation::IPF)
}
}
Federation::OceaniaPO => Some(Federation::WPC),
Federation::ORPF => Some(Federation::IPF),
Federation::OEVK => Some(Federation::IPF),
Federation::PA => {
if date.year() >= 2018 {
Some(Federation::WP)
} else {
Some(Federation::IPF)
}
}
Federation::PAGermany => Some(Federation::WPF),
Federation::PAP => Some(Federation::IPF),
Federation::PHPL => Some(Federation::GPA),
Federation::PI => Some(Federation::IPF),
Federation::PLH => Some(Federation::WPF),
Federation::PLSS => Some(Federation::IPF),
Federation::PLZS => Some(Federation::IPF),
Federation::PNGPF => Some(Federation::IPF),
Federation::PolandUA => None,
Federation::PoliceAL => None,
Federation::PowerLeague => None,
Federation::PRIDE => None,
Federation::ProRaw => None,
Federation::PRPA => None,
Federation::PZKFiTS => Some(Federation::IPF),
Federation::RAW => None,
Federation::RAWCAN => None,
Federation::RAWIceland => None,
Federation::RawIronPL => None,
Federation::RawPower => None,
Federation::RAWUKR => None,
Federation::RAWU => None,
Federation::RDFPF => Some(Federation::WDFPF),
Federation::RhinoPC => Some(Federation::GPC),
Federation::RPS => None,
Federation::RPU => None,
Federation::RUPC => None,
Federation::RussiaUA => None,
Federation::SAAS => None,
Federation::SADFPA => Some(Federation::WDFPF),
Federation::SAFKST => Some(Federation::IPF),
Federation::SAPF => Some(Federation::IPF),
Federation::SAST => Some(Federation::GPC),
Federation::ScottishPL => Some(Federation::IPF),
Federation::SCI => None,
Federation::SCT => None,
Federation::SDFPF => Some(Federation::WDFPF),
Federation::SLP => None,
Federation::SPA => None,
Federation::SPF => None,
Federation::SPFIRL => Some(Federation::SPF),
Federation::SPSS => None,
Federation::SSA => None,
Federation::SSF => Some(Federation::IPF),
Federation::SVNL => Some(Federation::IPF),
Federation::SwissPL => {
if date.year() >= 2018 && date.year() < 2020 {
Some(Federation::IPF)
} else {
None
}
}
Federation::ThaiPF => Some(Federation::IPF),
Federation::THSPA => None,
Federation::THSWPA => None,
Federation::TPSSF => Some(Federation::IPF),
Federation::UDFPF => Some(Federation::WDFPF),
Federation::UgandaPF => Some(Federation::WP),
Federation::UkrainePA => None,
Federation::UkrainePO => None,
Federation::UnifiedSA => None,
Federation::UPA => None,
Federation::UPC => Some(Federation::UPC),
Federation::UPCGermany => Some(Federation::UPC),
Federation::UkrainePF => Some(Federation::IPF),
Federation::UPL => Some(Federation::IPL),
Federation::USABA => Some(Federation::IBSA),
Federation::USABPA => None,
Federation::USAUA => None,
Federation::USAPL => Some(Federation::IPF),
Federation::USARawBP => None,
Federation::USMilAbroad => None,
Federation::USPS => None,
Federation::USPF => {
if date >= Date::from_parts(1997, 12, 05) {
None
} else {
Some(Federation::IPF)
}
}
Federation::USPA => Some(Federation::IPL),
Federation::USPC => None,
Federation::USSF => None,
Federation::USSports => None,
Federation::USVIPF => Some(Federation::IPF),
Federation::VDFPA => {
if date < Date::from_parts(2015, 01, 01) {
Some(Federation::WDFPF)
} else if date < Date::from_parts(2017, 03, 05) {
None
} else {
Some(Federation::RAW)
}
}
Federation::VGPF => Some(Federation::IPF),
Federation::VietnamPA => Some(Federation::GPA),
Federation::Vityaz => None,
Federation::VPF => Some(Federation::IPF),
Federation::WABDL => None,
Federation::WAIA => None,
Federation::WarriorPLF => None,
Federation::WBC => None,
Federation::WDFPF => Some(Federation::WDFPF),
Federation::WelshPA => Some(Federation::IPF),
Federation::WP => Some(Federation::WP),
Federation::WPChina => Some(Federation::WP),
Federation::WPNauru => Some(Federation::WP),
Federation::WPNiue => Some(Federation::WP),
Federation::WPUSA => Some(Federation::WP),
Federation::WPA => None,
Federation::WPAGEO => Some(Federation::WPA),
Federation::WPARUS => Some(Federation::WPA),
Federation::WPAU => None,
Federation::WPC => Some(Federation::WPC),
Federation::WPCCP => Some(Federation::WPC),
Federation::WPCEgypt => Some(Federation::WPC),
Federation::WPCFinland => Some(Federation::WPC),
Federation::WPCFrance => Some(Federation::WPC),
Federation::WPCGermany => Some(Federation::WPC),
Federation::WPCIceland => Some(Federation::WPC),
Federation::WPCIndia => Some(Federation::WPC),
Federation::WPCIsrael => Some(Federation::WPC),
Federation::WPCItaly => Some(Federation::WPC),
Federation::WPCKAZ => Some(Federation::WPC),
Federation::WPCKGZ => Some(Federation::WPC),
Federation::WPCLatvia => Some(Federation::WPC),
Federation::WPCMoldova => Some(Federation::WPC),
Federation::WPCPortugal => Some(Federation::WPC),
Federation::WPCPoland => Some(Federation::WPC),
Federation::WPCRUS => Some(Federation::WPC),
Federation::WPCSA => Some(Federation::WPC),
Federation::WPCUKR => Some(Federation::WPC),
Federation::WPF => None,
Federation::WPFG => None,
Federation::WPFKRAWA => None,
Federation::WPFRUS => Some(Federation::WPF),
Federation::WPLeague => None,
Federation::WPNZ => Some(Federation::WP),
Federation::WPPLBelarus => None,
Federation::WPPLMexico => None,
Federation::WPPLUkraine => None,
Federation::WPPO => None,
Federation::WPRO => None,
Federation::WPSF => Some(Federation::WPSF),
Federation::WPSFBelarus => Some(Federation::WPSF),
Federation::WPU => None,
Federation::WPUF => None,
Federation::WNPF => None,
Federation::WRPF => Some(Federation::WRPF),
Federation::WRPFAUS => Some(Federation::WRPF),
Federation::WRPFBelarus => Some(Federation::WRPF),
Federation::WRPFBrazil => Some(Federation::WRPF),
Federation::WRPFCAN => Some(Federation::WRPF),
Federation::WRPFHUN => Some(Federation::WRPF),
Federation::WRPFIceland => Some(Federation::WRPF),
Federation::WRPFIreland => Some(Federation::WRPF),
Federation::WRPFItaly => Some(Federation::WRPF),
Federation::WRPFKAZ => Some(Federation::WRPF),
Federation::WRPFLithuania => Some(Federation::WRPF),
Federation::WRPFPOL => Some(Federation::WRPF),
Federation::WRPFPortugal => Some(Federation::WRPF),
Federation::WRPFSlovakia => Some(Federation::WRPF),
Federation::WRPFSlovenia => Some(Federation::WRPF),
Federation::WRPFSpain => Some(Federation::WRPF),
Federation::WRPFSRB => Some(Federation::WRPF),
Federation::WRPFSweden => Some(Federation::WRPF),
Federation::WRPFUK => Some(Federation::WRPF),
Federation::WSHSPL => None,
Federation::WUAP => Some(Federation::WUAP),
Federation::WUAPAUT => Some(Federation::WUAP),
Federation::WUAPRUS => Some(Federation::WUAP),
Federation::WUAPSVK => Some(Federation::WUAP),
Federation::WUAPUSA => Some(Federation::WUAP),
Federation::XPC => Some(Federation::XPC),
Federation::XPCPoland => Some(Federation::XPC),
Federation::XPS => None,
}
}
#[inline]
fn ipf_rules_on(date: Date) -> PointsSystem {
if date >= Date::from_parts(2020, 05, 01) {
PointsSystem::Goodlift
} else if date.year() >= 2019 {
PointsSystem::IPFPoints
} else if date.year() >= 1997 {
PointsSystem::Wilks
} else {
PointsSystem::SchwartzMalone
}
}
#[inline]
fn ipl_rules_on(date: Date) -> PointsSystem {
if date >= Date::from_parts(2020, 11, 11) {
PointsSystem::Dots
} else if date >= Date::from_parts(2020, 03, 04) {
PointsSystem::Wilks2020
} else {
PointsSystem::Wilks
}
}
#[inline]
fn wp_rules_on(date: Date) -> PointsSystem {
if date.year() >= 2020 {
PointsSystem::Wilks2020
} else {
PointsSystem::Wilks
}
}
pub fn default_points(self, date: Date) -> PointsSystem {
match self {
Federation::_365Strong => PointsSystem::Wilks,
Federation::AAP => PointsSystem::Wilks,
Federation::AAPLF => PointsSystem::SchwartzMalone,
Federation::AAU => PointsSystem::Wilks,
Federation::ACHIPO => PointsSystem::Wilks,
Federation::ACPA => PointsSystem::Wilks,
Federation::ADAU => PointsSystem::Wilks,
Federation::ADFPA => PointsSystem::SchwartzMalone,
Federation::ADFPF => PointsSystem::SchwartzMalone,
Federation::AEP => Federation::ipf_rules_on(date),
Federation::AFPF => PointsSystem::Wilks,
Federation::AfricanPF => Federation::ipf_rules_on(date),
Federation::AIWBPA => Federation::ipf_rules_on(date),
Federation::AmericanSA => PointsSystem::Wilks,
Federation::ANPPC => PointsSystem::Wilks,
Federation::APA => PointsSystem::Wilks,
Federation::APC => PointsSystem::Wilks,
Federation::APF => PointsSystem::Glossbrenner,
Federation::APP => PointsSystem::Wilks,
Federation::APU => Federation::ipf_rules_on(date),
Federation::APUA => PointsSystem::Wilks,
Federation::ARPL => Federation::ipl_rules_on(date),
Federation::AsianPF => Federation::ipf_rules_on(date),
Federation::AusDFPF => PointsSystem::SchwartzMalone,
Federation::AusPF => PointsSystem::Wilks,
Federation::AusPL => Federation::ipl_rules_on(date),
Federation::AWF => PointsSystem::Wilks,
Federation::BahamasPF => PointsSystem::Wilks,
Federation::BAWLA => PointsSystem::Wilks,
Federation::BB => PointsSystem::Wilks,
Federation::BDFPA => PointsSystem::Wilks,
Federation::BDFPF => PointsSystem::Wilks,
Federation::BelPF => Federation::ipf_rules_on(date),
Federation::BP => Federation::ipf_rules_on(date),
Federation::BPA => Federation::ipf_rules_on(date),
Federation::BPC => PointsSystem::Wilks,
Federation::BPF => PointsSystem::Wilks,
Federation::BPO => PointsSystem::Wilks,
Federation::BPU => PointsSystem::Glossbrenner,
Federation::BVDG => PointsSystem::Wilks,
Federation::BVDK => {
if date.year() >= 2020 {
PointsSystem::Dots
} else {
Federation::ipf_rules_on(date)
}
}
Federation::CanadaUA => PointsSystem::Wilks,
Federation::CAPO => PointsSystem::Glossbrenner,
Federation::CAPONZ => PointsSystem::Glossbrenner,
Federation::CAST => PointsSystem::Wilks,
Federation::CBLB => Federation::ipf_rules_on(date),
Federation::CBPL => PointsSystem::Wilks,
Federation::ChinaPA => PointsSystem::Wilks,
Federation::CNFA => Federation::ipf_rules_on(date),
Federation::ColPF => Federation::ipf_rules_on(date),
Federation::CommonwealthPF => Federation::ipf_rules_on(date),
Federation::CONBRAP => PointsSystem::Glossbrenner,
Federation::CPA => PointsSystem::Wilks,
Federation::CPC => PointsSystem::Wilks,
Federation::CPF => PointsSystem::Wilks,
Federation::CPL => Federation::ipl_rules_on(date),
Federation::CPO => PointsSystem::Wilks,
Federation::CPU => Federation::ipf_rules_on(date),
Federation::CSST => PointsSystem::Wilks,
Federation::DBKV => PointsSystem::Wilks,
Federation::DFPFNL => PointsSystem::Wilks,
Federation::CzechiaUA => PointsSystem::Wilks,
Federation::DSF => Federation::ipf_rules_on(date),
Federation::EJTL => Federation::ipf_rules_on(date),
Federation::EPC => PointsSystem::Wilks,
Federation::EnglandUA => PointsSystem::Wilks,
Federation::EPA => Federation::ipf_rules_on(date),
Federation::EPF => Federation::ipf_rules_on(date),
Federation::ESDT => PointsSystem::Wilks,
Federation::FALPO => Federation::ipf_rules_on(date),
Federation::FBPD => PointsSystem::Wilks,
Federation::FCA => PointsSystem::Wilks,
Federation::FCST => PointsSystem::Wilks,
Federation::FECAPOLIF => Federation::ipf_rules_on(date),
Federation::FECHIPO => Federation::ipf_rules_on(date),
Federation::Fedepotencia => Federation::ipf_rules_on(date),
Federation::FEMEPO => Federation::ipf_rules_on(date),
Federation::FEPOA => PointsSystem::Wilks,
Federation::FESUPO => Federation::ipf_rules_on(date),
Federation::FFForce => Federation::ipf_rules_on(date),
Federation::FFHMFAC => Federation::ipf_rules_on(date),
Federation::FHSAA => PointsSystem::Wilks,
Federation::FIAP => Federation::ipf_rules_on(date),
Federation::FIPL => Federation::ipf_rules_on(date),
Federation::FPO => PointsSystem::Wilks,
Federation::FPPR => Federation::ipf_rules_on(date),
Federation::FPR => Federation::ipf_rules_on(date),
Federation::FRPL => Federation::ipf_rules_on(date),
Federation::FSFA => PointsSystem::Wilks,
Federation::GDFPF => PointsSystem::Wilks,
Federation::GermanyUA => PointsSystem::Wilks,
Federation::GFP => PointsSystem::Wilks,
Federation::GlobalPU => PointsSystem::Glossbrenner,
Federation::GPA => PointsSystem::Wilks,
Federation::GPACRO => PointsSystem::Wilks,
Federation::GPC => PointsSystem::Glossbrenner,
Federation::GPCAUS => PointsSystem::Glossbrenner,
Federation::GPCCAN => PointsSystem::Glossbrenner,
Federation::GPCGB => PointsSystem::Reshel,
Federation::GPCGUPU => PointsSystem::Glossbrenner,
Federation::GPCIRL => PointsSystem::Glossbrenner,
Federation::GPCISR => PointsSystem::Glossbrenner,
Federation::GPCLAT => PointsSystem::Glossbrenner,
Federation::GPCNZ => PointsSystem::Glossbrenner,
Federation::GPCPOL => PointsSystem::Glossbrenner,
Federation::GPCUKR => PointsSystem::Glossbrenner,
Federation::GPCUSA => PointsSystem::Glossbrenner,
Federation::GPCRUS => PointsSystem::Glossbrenner,
Federation::GPCWUAPCRO => PointsSystem::Wilks,
Federation::GPF => PointsSystem::Wilks,
Federation::GPU => PointsSystem::Wilks,
Federation::GRAWA => PointsSystem::Wilks,
Federation::GSFBelarus => PointsSystem::Wilks,
Federation::Hardcore => PointsSystem::Wilks,
Federation::CroatiaUA => PointsSystem::Wilks,
Federation::HKPF => Federation::wp_rules_on(date),
Federation::HKWPA => Federation::ipf_rules_on(date),
Federation::HPC => PointsSystem::Wilks,
Federation::HPLS => Federation::ipf_rules_on(date),
Federation::HPLSUA => PointsSystem::Wilks,
Federation::HPO => PointsSystem::Wilks,
Federation::HTPL => PointsSystem::Wilks,
Federation::Hunpower => Federation::ipf_rules_on(date),
Federation::IBSA => PointsSystem::Wilks,
Federation::IDFPA => PointsSystem::Wilks,
Federation::IDFPF => PointsSystem::SchwartzMalone,
Federation::IKF => PointsSystem::Wilks,
Federation::ILPA => PointsSystem::Wilks,
Federation::INSA => PointsSystem::Wilks,
Federation::IPA => PointsSystem::Wilks,
Federation::IPAAZE => PointsSystem::Wilks,
Federation::IPC => PointsSystem::Wilks,
Federation::IPF => Federation::ipf_rules_on(date),
Federation::IPL => Federation::ipl_rules_on(date),
Federation::IPLNZ => Federation::ipl_rules_on(date),
Federation::IPLSpain => Federation::ipl_rules_on(date),
Federation::IranBBF => Federation::ipf_rules_on(date),
Federation::IrelandUA => PointsSystem::Wilks,
Federation::IrishPF => {
if date > Date::from_parts(2020, 02, 16) {
PointsSystem::Dots
} else {
Federation::ipf_rules_on(date)
}
}
Federation::IrishPO => Federation::ipl_rules_on(date),
Federation::IronBoy => PointsSystem::Wilks,
Federation::IRP => PointsSystem::Wilks,
Federation::JPA => Federation::ipf_rules_on(date),
Federation::KDKS => PointsSystem::Dots,
Federation::KNKFSP => Federation::ipf_rules_on(date),
Federation::KPF => Federation::ipf_rules_on(date),
Federation::KRAFT => {
if date >= Date::from_parts(2020, 02, 29) {
PointsSystem::Dots
} else {
Federation::ipf_rules_on(date)
}
}
Federation::KuwaitPL => Federation::ipl_rules_on(date),
Federation::LFPH => Federation::ipf_rules_on(date),
Federation::LGBT => PointsSystem::Wilks,
Federation::LHSPLA => PointsSystem::Wilks,
Federation::LJTF => Federation::ipf_rules_on(date),
Federation::LMP => Federation::ipl_rules_on(date),
Federation::LPF => Federation::ipf_rules_on(date),
Federation::MalaysiaUA => PointsSystem::Wilks,
Federation::MDFPA => PointsSystem::SchwartzMalone,
Federation::MDFPF => PointsSystem::SchwartzMalone,
Federation::MHSAA => PointsSystem::Wilks,
Federation::MHSPLA => PointsSystem::Wilks,
Federation::MM => PointsSystem::SchwartzMalone,
Federation::MMAUS => PointsSystem::SchwartzMalone,
Federation::MPA => PointsSystem::Wilks,
Federation::NAP => PointsSystem::Wilks,
Federation::NAPF => Federation::ipf_rules_on(date),
Federation::NASA => PointsSystem::NASA,
Federation::NaturalPA => PointsSystem::Wilks,
Federation::NauruPF => Federation::ipf_rules_on(date),
Federation::NextGenPF => PointsSystem::Wilks,
Federation::NORCAL => PointsSystem::Wilks,
Federation::NIPF => Federation::ipf_rules_on(date),
Federation::NordicPF => Federation::ipf_rules_on(date),
Federation::NPA => PointsSystem::Wilks,
Federation::NPB => Federation::ipf_rules_on(date),
Federation::NSF => Federation::ipf_rules_on(date),
Federation::NZPF => Federation::ipf_rules_on(date),
Federation::NZAWLA => Federation::ipf_rules_on(date),
Federation::NZUA => PointsSystem::Wilks,
Federation::OceaniaPF => Federation::wp_rules_on(date),
Federation::OceaniaPO => PointsSystem::Glossbrenner,
Federation::ORPF => Federation::ipf_rules_on(date),
Federation::OEVK => Federation::ipf_rules_on(date),
Federation::PA => {
if date.year() >= 2020 {
PointsSystem::Wilks2020
} else if date.year() >= 1997 {
PointsSystem::Wilks
} else {
PointsSystem::SchwartzMalone
}
}
Federation::PAGermany => PointsSystem::Wilks,
Federation::PoliceAL => PointsSystem::Wilks,
Federation::PowerLeague => PointsSystem::Wilks,
Federation::PAP => Federation::ipf_rules_on(date),
Federation::PHPL => PointsSystem::Reshel,
Federation::PI => Federation::ipf_rules_on(date),
Federation::PLH => PointsSystem::Reshel,
Federation::PLSS => Federation::ipf_rules_on(date),
Federation::PLZS => Federation::ipf_rules_on(date),
Federation::PNGPF => Federation::ipf_rules_on(date),
Federation::PolandUA => PointsSystem::Wilks,
Federation::PRIDE => PointsSystem::Wilks,
Federation::ProRaw => PointsSystem::Glossbrenner,
Federation::PRPA => PointsSystem::Wilks,
Federation::PZKFiTS => Federation::ipf_rules_on(date),
Federation::RAW => PointsSystem::SchwartzMalone,
Federation::RAWCAN => PointsSystem::Wilks,
Federation::RAWIceland => PointsSystem::Wilks,
Federation::RawIronPL => {
if date >= Date::from_parts(2020, 12, 1) {
PointsSystem::Dots
} else {
PointsSystem::Wilks
}
}
Federation::RawPower => PointsSystem::Wilks,
Federation::RAWUKR => PointsSystem::Wilks,
Federation::RAWU => PointsSystem::Wilks,
Federation::RDFPF => PointsSystem::SchwartzMalone,
Federation::RhinoPC => PointsSystem::Glossbrenner,
Federation::RPS => PointsSystem::Wilks,
Federation::RPU => PointsSystem::Wilks,
Federation::RUPC => PointsSystem::Wilks,
Federation::RussiaUA => PointsSystem::Wilks,
Federation::SAAS => PointsSystem::Wilks,
Federation::SADFPA => PointsSystem::Wilks,
Federation::SAFKST => Federation::ipf_rules_on(date),
Federation::SAPF => Federation::ipf_rules_on(date),
Federation::SAST => PointsSystem::Glossbrenner,
Federation::ScottishPL => Federation::ipf_rules_on(date),
Federation::SCI => PointsSystem::Wilks,
Federation::SCT => PointsSystem::Wilks,
Federation::SDFPF => PointsSystem::Wilks,
Federation::SLP => PointsSystem::Wilks,
Federation::SPA => PointsSystem::Wilks,
Federation::SPF => PointsSystem::SchwartzMalone,
Federation::SPFIRL => PointsSystem::SchwartzMalone,
Federation::SPSS => PointsSystem::Wilks,
Federation::SSA => PointsSystem::Wilks,
Federation::SSF => Federation::ipf_rules_on(date),
Federation::SVNL => Federation::ipf_rules_on(date),
Federation::SwissPL => {
if date.year() >= 2020 {
PointsSystem::Dots
} else {
Federation::ipf_rules_on(date)
}
}
Federation::ThaiPF => Federation::ipf_rules_on(date),
Federation::THSPA => PointsSystem::Wilks,
Federation::THSWPA => PointsSystem::Wilks,
Federation::TPSSF => Federation::ipf_rules_on(date),
Federation::UDFPF => PointsSystem::Wilks,
Federation::UgandaPF => Federation::wp_rules_on(date),
Federation::UkrainePA => PointsSystem::Wilks,
Federation::UkrainePO => PointsSystem::Wilks,
Federation::UnifiedSA => PointsSystem::Wilks,
Federation::UPA => PointsSystem::Wilks,
Federation::UPC => PointsSystem::Wilks,
Federation::UPCGermany => PointsSystem::Glossbrenner,
Federation::UkrainePF => Federation::ipf_rules_on(date),
Federation::UPL => Federation::ipl_rules_on(date),
Federation::USABA => PointsSystem::Wilks,
Federation::USABPA => PointsSystem::Wilks,
Federation::USAUA => PointsSystem::Wilks,
Federation::USAPL => Federation::ipf_rules_on(date),
Federation::USARawBP => PointsSystem::Wilks,
Federation::USMilAbroad => PointsSystem::Wilks,
Federation::USPS => PointsSystem::Wilks,
Federation::USPF => PointsSystem::Wilks,
Federation::USPA => Federation::ipl_rules_on(date),
Federation::USPC => {
if date >= Date::from_parts(2020, 11, 01) {
PointsSystem::Wilks2020
} else {
PointsSystem::Dots
}
}
Federation::USSF => PointsSystem::Wilks,
Federation::USSports => PointsSystem::Wilks,
Federation::USVIPF => Federation::ipf_rules_on(date),
Federation::VDFPA => PointsSystem::SchwartzMalone,
Federation::VGPF => Federation::ipf_rules_on(date),
Federation::VietnamPA => PointsSystem::Wilks,
Federation::Vityaz => PointsSystem::Wilks,
Federation::VPF => Federation::ipf_rules_on(date),
Federation::WABDL => PointsSystem::Wilks,
Federation::WAIA => PointsSystem::Wilks,
Federation::WarriorPLF => PointsSystem::Wilks,
Federation::WBC => PointsSystem::Wilks,
Federation::WDFPF => PointsSystem::Wilks,
Federation::WelshPA => Federation::ipf_rules_on(date),
Federation::WP => Federation::wp_rules_on(date),
Federation::WPChina => Federation::wp_rules_on(date),
Federation::WPNauru => Federation::wp_rules_on(date),
Federation::WPNiue => Federation::wp_rules_on(date),
Federation::WPUSA => Federation::wp_rules_on(date),
Federation::WPA => PointsSystem::Wilks,
Federation::WPAGEO => PointsSystem::Wilks,
Federation::WPARUS => PointsSystem::Wilks,
Federation::WPAU => PointsSystem::Wilks,
Federation::WPC => PointsSystem::Glossbrenner,
Federation::WPCCP => PointsSystem::Glossbrenner,
Federation::WPCEgypt => PointsSystem::Glossbrenner,
Federation::WPCFinland => PointsSystem::Glossbrenner,
Federation::WPCFrance => PointsSystem::Glossbrenner,
Federation::WPCGermany => PointsSystem::Glossbrenner,
Federation::WPCIceland => PointsSystem::Glossbrenner,
Federation::WPCIndia => PointsSystem::Glossbrenner,
Federation::WPCIsrael => PointsSystem::Glossbrenner,
Federation::WPCItaly => PointsSystem::Glossbrenner,
Federation::WPCKAZ => PointsSystem::Glossbrenner,
Federation::WPCKGZ => PointsSystem::Glossbrenner,
Federation::WPCLatvia => PointsSystem::Glossbrenner,
Federation::WPCMoldova => PointsSystem::Glossbrenner,
Federation::WPCPortugal => PointsSystem::Glossbrenner,
Federation::WPCPoland => PointsSystem::Glossbrenner,
Federation::WPCRUS => PointsSystem::Glossbrenner,
Federation::WPCSA => PointsSystem::Glossbrenner,
Federation::WPCUKR => PointsSystem::Glossbrenner,
Federation::WPF => PointsSystem::Wilks,
Federation::WPFG => PointsSystem::Wilks,
Federation::WPFKRAWA => PointsSystem::Wilks,
Federation::WPFRUS => PointsSystem::Wilks,
Federation::WPLeague => PointsSystem::Wilks,
Federation::WPNZ => PointsSystem::Wilks,
Federation::WPPLBelarus => PointsSystem::Wilks,
Federation::WPPLMexico => PointsSystem::Wilks,
Federation::WPPLUkraine => PointsSystem::Wilks,
Federation::WPPO => PointsSystem::AH,
Federation::WPRO => PointsSystem::Wilks,
Federation::WPSF => PointsSystem::Wilks,
Federation::WPSFBelarus => PointsSystem::Wilks,
Federation::WPU => PointsSystem::Wilks,
Federation::WPUF => PointsSystem::Wilks,
Federation::WNPF => PointsSystem::Wilks,
Federation::WRPF => PointsSystem::Wilks,
Federation::WRPFAUS => PointsSystem::Wilks,
Federation::WRPFBelarus => PointsSystem::Wilks,
Federation::WRPFBrazil => PointsSystem::Wilks,
Federation::WRPFCAN => PointsSystem::Wilks,
Federation::WRPFHUN => PointsSystem::Wilks,
Federation::WRPFIceland => PointsSystem::Wilks,
Federation::WRPFIreland => PointsSystem::Wilks,
Federation::WRPFItaly => PointsSystem::Wilks,
Federation::WRPFKAZ => PointsSystem::Wilks,
Federation::WRPFLithuania => PointsSystem::Wilks,
Federation::WRPFPOL => PointsSystem::Wilks,
Federation::WRPFPortugal => PointsSystem::Wilks,
Federation::WRPFSlovakia => PointsSystem::Wilks,
Federation::WRPFSlovenia => PointsSystem::Wilks,
Federation::WRPFSpain => PointsSystem::Wilks,
Federation::WRPFSRB => PointsSystem::Wilks,
Federation::WRPFSweden => PointsSystem::Wilks,
Federation::WRPFUK => PointsSystem::Wilks,
Federation::WSHSPL => PointsSystem::Wilks,
Federation::WUAP => PointsSystem::Wilks,
Federation::WUAPAUT => PointsSystem::Wilks,
Federation::WUAPRUS => PointsSystem::Wilks,
Federation::WUAPSVK => PointsSystem::Wilks,
Federation::WUAPUSA => PointsSystem::Wilks,
Federation::XPC => PointsSystem::Wilks,
Federation::XPCPoland => PointsSystem::Wilks,
Federation::XPS => PointsSystem::Wilks,
}
}
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_url_strings() {
assert_eq!("wrpf".parse::<Federation>().unwrap(), Federation::WRPF);
assert_eq!(Federation::WRPF.to_string(), "WRPF");
}
}