pub struct PlaybackActions {
pub interrupting_playback: Option<bool>,
pub pausing: Option<bool>,
pub resuming: Option<bool>,
pub seeking: Option<bool>,
pub skipping_next: Option<bool>,
pub skipping_prev: Option<bool>,
pub toggling_repeat_context: Option<bool>,
pub toggling_shuffle: Option<bool>,
pub toggling_repeat_track: Option<bool>,
pub transferring_playback: Option<bool>,
}Expand description
Available playback actions.
Fields§
§interrupting_playback: Option<bool>Whether interrupting playback is allowed.
pausing: Option<bool>Whether pausing is allowed.
resuming: Option<bool>Whether resuming is allowed.
seeking: Option<bool>Whether seeking is allowed.
skipping_next: Option<bool>Whether skipping next is allowed.
skipping_prev: Option<bool>Whether skipping previous is allowed.
toggling_repeat_context: Option<bool>Whether toggling repeat context is allowed.
toggling_shuffle: Option<bool>Whether toggling shuffle is allowed.
toggling_repeat_track: Option<bool>Whether toggling repeat track is allowed.
transferring_playback: Option<bool>Whether transferring playback is allowed.
Trait Implementations§
Source§impl Clone for PlaybackActions
impl Clone for PlaybackActions
Source§fn clone(&self) -> PlaybackActions
fn clone(&self) -> PlaybackActions
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 PlaybackActions
impl Debug for PlaybackActions
Source§impl<'de> Deserialize<'de> for PlaybackActions
impl<'de> Deserialize<'de> for PlaybackActions
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 PlaybackActions
impl RefUnwindSafe for PlaybackActions
impl Send for PlaybackActions
impl Sync for PlaybackActions
impl Unpin for PlaybackActions
impl UnwindSafe for PlaybackActions
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