Struct libits_client::analyse::configuration::Configuration
source · [−]pub struct Configuration { /* private fields */ }
Implementations
sourceimpl Configuration
impl Configuration
pub fn new(
client_id: String,
region_of_responsibility: bool,
custom_settings: HashMap<String, String>
) -> Self
pub fn gateway_component_name(&self) -> String
pub fn component_name(&self, added_number: Option<u32>) -> String
pub fn station_id(&self, added_number: Option<u32>) -> u32
pub fn is_in_region_of_responsibility(
&self,
geo_extension: GeoExtension
) -> bool
pub fn update(&self, new_information: Information)
pub fn get(&self, key: &str) -> Option<&String>
pub fn set(&mut self, key: &str, value: String)
Auto Trait Implementations
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnwindSafe for Configuration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more