pub struct Settings;Expand description
Settings struct is empty currently
Implementations§
Source§impl Settings
Settings implements the interface to use outside the module
impl Settings
Settings implements the interface to use outside the module
Sourcepub fn load(submod: &str) -> Result<Arc<SettingsDerive>, SettingsError>
pub fn load(submod: &str) -> Result<Arc<SettingsDerive>, SettingsError>
Load dataset specific settings typically identified by two-letter country code e.g. au This is expected to conform ISO 3166-1_alpha-2 Except lowercase due to Rust RFC 430
let au_config = gis_puller::settings::Settings::load("au");Trait Implementations§
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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