pub struct EventWorkingLocationProperties {
pub custom_location: Option<EventWorkingLocationPropertiesCustomLocation>,
pub home_office: Option<Value>,
pub office_location: Option<EventWorkingLocationPropertiesOfficeLocation>,
pub type_: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§custom_location: Option<EventWorkingLocationPropertiesCustomLocation>
If present, specifies that the user is working from a custom location.
home_office: Option<Value>
If present, specifies that the user is working at home.
office_location: Option<EventWorkingLocationPropertiesOfficeLocation>
If present, specifies that the user is working from an office.
type_: Option<String>
Type of the working location. Possible values are:
- “homeOffice” - The user is working at home.
- “officeLocation” - The user is working from an office.
- “customLocation” - The user is working from a custom location. Any details are specified in a sub-field of the specified name, but this field may be missing if empty. Any other fields are ignored. Required when adding working location properties.
Trait Implementations§
source§impl Clone for EventWorkingLocationProperties
impl Clone for EventWorkingLocationProperties
source§fn clone(&self) -> EventWorkingLocationProperties
fn clone(&self) -> EventWorkingLocationProperties
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 Default for EventWorkingLocationProperties
impl Default for EventWorkingLocationProperties
source§fn default() -> EventWorkingLocationProperties
fn default() -> EventWorkingLocationProperties
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EventWorkingLocationProperties
impl<'de> Deserialize<'de> for EventWorkingLocationProperties
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 EventWorkingLocationProperties
Auto Trait Implementations§
impl RefUnwindSafe for EventWorkingLocationProperties
impl Send for EventWorkingLocationProperties
impl Sync for EventWorkingLocationProperties
impl Unpin for EventWorkingLocationProperties
impl UnwindSafe for EventWorkingLocationProperties
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