pub struct ActionRequest {Show 14 fields
pub id: Option<Uuid>,
pub user_id: Uuid,
pub org_id: Uuid,
pub date: NaiveDateTime,
pub direction: String,
pub campus: Option<Uuid>,
pub building: Option<Uuid>,
pub floor: Option<Uuid>,
pub room: Option<Uuid>,
pub action_type: String,
pub guard: Option<Uuid>,
pub device: Option<Uuid>,
pub extra: Option<Value>,
pub visitor_id: Option<Uuid>,
}
Fields§
§id: Option<Uuid>
§user_id: Uuid
§org_id: Uuid
§date: NaiveDateTime
§direction: String
§campus: Option<Uuid>
§building: Option<Uuid>
§floor: Option<Uuid>
§room: Option<Uuid>
§action_type: String
§guard: Option<Uuid>
§device: Option<Uuid>
§extra: Option<Value>
§visitor_id: Option<Uuid>
Trait Implementations§
Source§impl Clone for ActionRequest
impl Clone for ActionRequest
Source§fn clone(&self) -> ActionRequest
fn clone(&self) -> ActionRequest
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 ActionRequest
impl Debug for ActionRequest
Source§impl<'de> Deserialize<'de> for ActionRequest
impl<'de> Deserialize<'de> for ActionRequest
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 ActionRequest
impl RefUnwindSafe for ActionRequest
impl Send for ActionRequest
impl Sync for ActionRequest
impl Unpin for ActionRequest
impl UnwindSafe for ActionRequest
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