pub struct UpdateLiveActivityRequest {
pub name: NameType,
pub event: EventType,
pub event_updates: Value,
pub dismiss_at: Option<f32>,
}
Fields§
§name: NameType
Type of live activity
event: EventType
§event_updates: Value
§dismiss_at: Option<f32>
Timestamp; only allowed if event is "end"
Implementations§
Trait Implementations§
source§impl Clone for UpdateLiveActivityRequest
impl Clone for UpdateLiveActivityRequest
source§fn clone(&self) -> UpdateLiveActivityRequest
fn clone(&self) -> UpdateLiveActivityRequest
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 UpdateLiveActivityRequest
impl Debug for UpdateLiveActivityRequest
source§impl Default for UpdateLiveActivityRequest
impl Default for UpdateLiveActivityRequest
source§fn default() -> UpdateLiveActivityRequest
fn default() -> UpdateLiveActivityRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateLiveActivityRequest
impl<'de> Deserialize<'de> for UpdateLiveActivityRequest
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<UpdateLiveActivityRequest> for UpdateLiveActivityRequest
impl PartialEq<UpdateLiveActivityRequest> for UpdateLiveActivityRequest
source§fn eq(&self, other: &UpdateLiveActivityRequest) -> bool
fn eq(&self, other: &UpdateLiveActivityRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.