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 duplicate 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
impl StructuralPartialEq for UpdateLiveActivityRequest
Auto Trait Implementations§
impl Freeze for UpdateLiveActivityRequest
impl RefUnwindSafe for UpdateLiveActivityRequest
impl Send for UpdateLiveActivityRequest
impl Sync for UpdateLiveActivityRequest
impl Unpin for UpdateLiveActivityRequest
impl UnwindSafe for UpdateLiveActivityRequest
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