pub struct Disallows {
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
Contains (optional) disallowewd actions.
Fields§
§interrupting_playback: Option<bool>§pausing: Option<bool>§resuming: Option<bool>§seeking: Option<bool>§skipping_next: Option<bool>§skipping_prev: Option<bool>§toggling_repeat_context: Option<bool>§toggling_shuffle: Option<bool>§toggling_repeat_track: Option<bool>§transferring_playback: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Disallows
impl<'de> Deserialize<'de> for Disallows
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 Disallows
Auto Trait Implementations§
impl Freeze for Disallows
impl RefUnwindSafe for Disallows
impl Send for Disallows
impl Sync for Disallows
impl Unpin for Disallows
impl UnsafeUnpin for Disallows
impl UnwindSafe for Disallows
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