Crate codes_agency
source ·Expand description
This package provides a common code representing standards agencies.
The two core types, Agency and Standard work together to provide reporting capabilities to other codes project packages. Specifically a package that provides types corresponding to a standard definition can have an instance of the Standard struct that describes the standard. This in turn references the Agency that controls the standard.
use codes_agency::{Agency, Standard};
pub const ISO_4217: Standard = Standard::new_with_long_ref(
Agency::ISO,
"4217",
"ISO 4217:2015",
"Currency codes",
"https://www.iso.org/iso-4217-currency-codes.html",
);Structs
This structure allows for the description of a specific standard, or specification,
issued by a well-known standards agency. Note that different versions of a standard
should be different instances with at least different long references.