Struct propertylib::store::building_store::BuildingStore
source · pub struct BuildingStore {}
Implementations§
source§impl BuildingStore
impl BuildingStore
pub async fn build_ws_link( project: impl Into<String>, url: impl Into<String> ) -> String
pub async fn get_by_id(id: Uuid) -> Result<BuildingResponse, String>
pub async fn get_with_floors_by_id( building_id: Uuid ) -> Result<BuildingWithFloorsResponse, String>
Auto Trait Implementations§
impl Freeze for BuildingStore
impl RefUnwindSafe for BuildingStore
impl Send for BuildingStore
impl Sync for BuildingStore
impl Unpin for BuildingStore
impl UnwindSafe for BuildingStore
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more