Struct google_people1::api::Location
source · pub struct Location {
pub building_id: Option<String>,
pub current: Option<bool>,
pub desk_code: Option<String>,
pub floor: Option<String>,
pub floor_section: Option<String>,
pub metadata: Option<FieldMetadata>,
pub type_: Option<String>,
pub value: Option<String>,
}
Expand description
A person’s location.
This type is not used in any activity, and only used as part of another schema.
Fields§
§building_id: Option<String>
The building identifier.
current: Option<bool>
Whether the location is the current location.
desk_code: Option<String>
The individual desk location.
floor: Option<String>
The floor name or number.
floor_section: Option<String>
The floor section in floor_name
.
metadata: Option<FieldMetadata>
Metadata about the location.
type_: Option<String>
The type of the location. The type can be custom or one of these predefined values: * desk
* grewUp
value: Option<String>
The free-form value of the location.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Location
impl<'de> Deserialize<'de> for Location
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
impl Part for Location
Auto Trait Implementations§
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
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