pub struct ActionResponse {Show 14 fields
pub id: 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: 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 ActionResponse
impl Clone for ActionResponse
Source§fn clone(&self) -> ActionResponse
fn clone(&self) -> ActionResponse
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 ActionResponse
impl Debug for ActionResponse
Source§impl<'de> Deserialize<'de> for ActionResponse
impl<'de> Deserialize<'de> for ActionResponse
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 ActionResponse
impl RefUnwindSafe for ActionResponse
impl Send for ActionResponse
impl Sync for ActionResponse
impl Unpin for ActionResponse
impl UnwindSafe for ActionResponse
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