Struct zoom_api::types::UpdatePresenceStatusRequestData
source · pub struct UpdatePresenceStatusRequestData {
pub duration: i64,
pub status: Option<UpdatePresenceStatusRequest>,
}
Fields§
§duration: i64
Account seats.
status: Option<UpdatePresenceStatusRequest>
Presence status of the user. The value can be set to one of the following:
* Away
* Do_Not_Disturb
* Available
* In_Calendar_Event
* Presenting
* In_A_Zoom_Meeting
* On_A_Call
Users who are on Zoom Client with a version **lower than 5.3.0** can update the status from:
* Away
to Do_Not_Disturb
* Available
to Do_Not_Disturb
Users who are on **Zoom Client 5.3.0** or higher can update the status from:
* Do_Not_Disturb
to Away
* Do_Not_Disturb
to Available
* Available
to Away
* Away
to Available
Trait Implementations§
source§impl Clone for UpdatePresenceStatusRequestData
impl Clone for UpdatePresenceStatusRequestData
source§fn clone(&self) -> UpdatePresenceStatusRequestData
fn clone(&self) -> UpdatePresenceStatusRequestData
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<'de> Deserialize<'de> for UpdatePresenceStatusRequestData
impl<'de> Deserialize<'de> for UpdatePresenceStatusRequestData
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 JsonSchema for UpdatePresenceStatusRequestData
impl JsonSchema for UpdatePresenceStatusRequestData
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<UpdatePresenceStatusRequestData> for UpdatePresenceStatusRequestData
impl PartialEq<UpdatePresenceStatusRequestData> for UpdatePresenceStatusRequestData
source§fn eq(&self, other: &UpdatePresenceStatusRequestData) -> bool
fn eq(&self, other: &UpdatePresenceStatusRequestData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdatePresenceStatusRequestData
Auto Trait Implementations§
impl RefUnwindSafe for UpdatePresenceStatusRequestData
impl Send for UpdatePresenceStatusRequestData
impl Sync for UpdatePresenceStatusRequestData
impl Unpin for UpdatePresenceStatusRequestData
impl UnwindSafe for UpdatePresenceStatusRequestData
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