pub struct LocationService { /* private fields */ }Implementations§
Source§impl LocationService
impl LocationService
pub fn new(config: Arc<dyn ConfigInterface>) -> LocationService
Trait Implementations§
Source§impl LocationServiceInterface for LocationService
impl LocationServiceInterface for LocationService
fn get_location_names(&self) -> Arc<HashMap<i32, String>>
fn get_location_data(&self, location_id: i32) -> Option<Arc<LocationData>>
Auto Trait Implementations§
impl Freeze for LocationService
impl !RefUnwindSafe for LocationService
impl Send for LocationService
impl Sync for LocationService
impl Unpin for LocationService
impl !UnwindSafe for LocationService
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
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read more