pub struct PlaybackUpdateMessage {
pub generation_time: u64,
pub state: PlaybackState,
pub time: Option<f64>,
pub duration: Option<f64>,
pub speed: Option<f64>,
pub item_index: Option<u64>,
}Fields§
§generation_time: u64§state: PlaybackState§time: Option<f64>§duration: Option<f64>§speed: Option<f64>§item_index: Option<u64>Trait Implementations§
Source§impl Clone for PlaybackUpdateMessage
impl Clone for PlaybackUpdateMessage
Source§fn clone(&self) -> PlaybackUpdateMessage
fn clone(&self) -> PlaybackUpdateMessage
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 PlaybackUpdateMessage
impl Debug for PlaybackUpdateMessage
Source§impl<'de> Deserialize<'de> for PlaybackUpdateMessage
impl<'de> Deserialize<'de> for PlaybackUpdateMessage
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 for PlaybackUpdateMessage
impl PartialEq for PlaybackUpdateMessage
Source§impl Serialize for PlaybackUpdateMessage
impl Serialize for PlaybackUpdateMessage
impl StructuralPartialEq for PlaybackUpdateMessage
Auto Trait Implementations§
impl Freeze for PlaybackUpdateMessage
impl RefUnwindSafe for PlaybackUpdateMessage
impl Send for PlaybackUpdateMessage
impl Sync for PlaybackUpdateMessage
impl Unpin for PlaybackUpdateMessage
impl UnwindSafe for PlaybackUpdateMessage
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