pub struct LocationService;Implementations§
Source§impl LocationService
impl LocationService
pub fn get_location_names() -> Arc<HashMap<i32, String>>
pub fn get_location_data(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