pub struct Config;Implementations§
Source§impl Config
impl Config
pub const BASE_URL: &str = "https://api.data.abs.gov.au"
pub const DATA_PATH: &str = "data"
pub const DATA_KEY_MAX_LENGTH: usize = 260usize
pub const DATA_KEY_REQUIRED_DOT_COUNT: usize = 4usize
pub const QUERY_START_PERIOD: &str = "startPeriod"
pub const QUERY_END_PERIOD: &str = "endPeriod"
pub const QUERY_DETAIL: &str = "detail"
pub const QUERY_DIMENSION_AT_OBSERVATION: &str = "dimensionAtObservation"
pub const QUERY_REFERENCES: &str = "references"
pub const MIME_TYPE_SDMX_STRUCTURE_JSON: &str = "application/vnd.sdmx.structure+json"
pub const MIME_TYPE_SDMX_DATA_JSON: &str = "application/vnd.sdmx.data+json"
pub const HEADER_ACCEPT_KEY: &str = "Accept"
pub const HEADER_USER_AGENT_KEY: &str = "User-Agent"
pub const HEADER_API_KEY: &str = "x-api-key"
pub const HEADER_USER_AGENT_VALUE: &str = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
pub const USER_AGENT_ANONYMOUS: (&str, &str)
pub const ACCEPT_STRUCTURE_JSON: (&str, &str)
pub const ACCEPT_DATA_JSON: (&str, &str)
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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