Struct propertylib::dto::room_public_response::PublicRoomResponse
source · pub struct PublicRoomResponse {Show 17 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,
pub floor_number: Option<i32>,
pub building_id: Option<Uuid>,
pub building_name: Option<String>,
}
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
§floor_number: Option<i32>
§building_id: Option<Uuid>
§building_name: Option<String>
Trait Implementations§
source§impl Clone for PublicRoomResponse
impl Clone for PublicRoomResponse
source§fn clone(&self) -> PublicRoomResponse
fn clone(&self) -> PublicRoomResponse
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 PublicRoomResponse
impl Debug for PublicRoomResponse
source§impl<'de> Deserialize<'de> for PublicRoomResponse
impl<'de> Deserialize<'de> for PublicRoomResponse
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 PublicRoomResponse
impl RefUnwindSafe for PublicRoomResponse
impl Send for PublicRoomResponse
impl Sync for PublicRoomResponse
impl Unpin for PublicRoomResponse
impl UnwindSafe for PublicRoomResponse
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