pub struct CheckinPerson {
pub department_ids: Vec<i64>,
pub emails: BTreeMap<String, Value>,
pub first_name: Option<String>,
pub guid: Option<String>,
pub id: i64,
pub last_name: String,
pub latitude: String,
pub longitude: String,
pub extra: Map<String, Value>,
}Expand description
Legacy person-model response used only by check-in admission. It differs from the regular, permission-filtered Person API resource: coordinates are strings, emails currently serialize as an object, and security-level properties are absent. Additional implementation properties may be present; clients should consume only the fields needed for admission and use the regular person endpoint for subsequent reads.
Fields§
§department_ids: Vec<i64>§emails: BTreeMap<String, Value>The internal email collection currently serializes as an object rather than the normal Person email array.
first_name: Option<String>§guid: Option<String>§id: i64§last_name: String§latitude: StringStored coordinate as a string; can be empty.
longitude: StringStored coordinate as a string; can be empty.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for CheckinPerson
impl Clone for CheckinPerson
Source§impl Debug for CheckinPerson
impl Debug for CheckinPerson
Source§impl Default for CheckinPerson
impl Default for CheckinPerson
Source§impl<'de> Deserialize<'de> for CheckinPerson
impl<'de> Deserialize<'de> for CheckinPerson
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
Source§impl PartialEq for CheckinPerson
impl PartialEq for CheckinPerson
Source§impl Serialize for CheckinPerson
impl Serialize for CheckinPerson
impl StructuralPartialEq for CheckinPerson
Auto Trait Implementations§
impl Freeze for CheckinPerson
impl RefUnwindSafe for CheckinPerson
impl Send for CheckinPerson
impl Sync for CheckinPerson
impl Unpin for CheckinPerson
impl UnsafeUnpin for CheckinPerson
impl UnwindSafe for CheckinPerson
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