pub struct MediaControlEvent {
pub event_type: MediaControlEventType,
pub timestamp: u64,
}Fields§
§event_type: MediaControlEventType§timestamp: u64Trait Implementations§
Source§impl Clone for MediaControlEvent
impl Clone for MediaControlEvent
Source§fn clone(&self) -> MediaControlEvent
fn clone(&self) -> MediaControlEvent
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 MediaControlEvent
impl Debug for MediaControlEvent
Source§impl<'de> Deserialize<'de> for MediaControlEvent
impl<'de> Deserialize<'de> for MediaControlEvent
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
Auto Trait Implementations§
impl Freeze for MediaControlEvent
impl RefUnwindSafe for MediaControlEvent
impl Send for MediaControlEvent
impl Sync for MediaControlEvent
impl Unpin for MediaControlEvent
impl UnwindSafe for MediaControlEvent
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