Struct propertylib::dto::room_response::RoomResponse
source · pub struct RoomResponse {Show 14 fields
pub id: Uuid,
pub ver: Option<i32>,
pub name: Option<String>,
pub number: Option<String>,
pub floor_id: Uuid,
pub json_schema: Option<Value>,
pub width: Option<f64>,
pub height: Option<f64>,
pub length: Option<f64>,
pub position_x: Option<f64>,
pub position_y: Option<f64>,
pub logo: Option<String>,
pub subject: Option<Subject>,
pub room_type: RoomType,
}
Fields§
§id: Uuid
§ver: Option<i32>
§name: Option<String>
§number: Option<String>
§floor_id: Uuid
§json_schema: Option<Value>
§width: Option<f64>
§height: Option<f64>
§length: Option<f64>
§position_x: Option<f64>
§position_y: Option<f64>
§logo: Option<String>
§subject: Option<Subject>
§room_type: RoomType
Trait Implementations§
source§impl Clone for RoomResponse
impl Clone for RoomResponse
source§fn clone(&self) -> RoomResponse
fn clone(&self) -> RoomResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RoomResponse
impl Debug for RoomResponse
source§impl<'de> Deserialize<'de> for RoomResponse
impl<'de> Deserialize<'de> for RoomResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RoomResponse
impl RefUnwindSafe for RoomResponse
impl Send for RoomResponse
impl Sync for RoomResponse
impl Unpin for RoomResponse
impl UnwindSafe for RoomResponse
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