Struct propertylib::dto::room_request::RoomRequest
source · pub struct RoomRequest {Show 14 fields
pub id: Option<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: Option<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 RoomRequest
impl Clone for RoomRequest
source§fn clone(&self) -> RoomRequest
fn clone(&self) -> RoomRequest
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 RoomRequest
impl Debug for RoomRequest
source§impl<'de> Deserialize<'de> for RoomRequest
impl<'de> Deserialize<'de> for RoomRequest
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 RoomRequest
impl RefUnwindSafe for RoomRequest
impl Send for RoomRequest
impl Sync for RoomRequest
impl Unpin for RoomRequest
impl UnwindSafe for RoomRequest
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