pub struct RenderingControlEvent { /* private fields */ }Expand description
Minimal RenderingControl event - direct serde mapping from UPnP event XML
Implementations§
Source§impl RenderingControlEvent
impl RenderingControlEvent
Sourcepub fn master_volume(&self) -> Option<String>
pub fn master_volume(&self) -> Option<String>
Get master volume
Sourcepub fn master_mute(&self) -> Option<String>
pub fn master_mute(&self) -> Option<String>
Get master mute
Sourcepub fn other_channels(&self) -> HashMap<String, String>
pub fn other_channels(&self) -> HashMap<String, String>
Get other channels as a map of all non-standard channels
Sourcepub fn into_state(&self) -> RenderingControlState
pub fn into_state(&self) -> RenderingControlState
Convert parsed UPnP event to canonical state representation.
Trait Implementations§
Source§impl Clone for RenderingControlEvent
impl Clone for RenderingControlEvent
Source§fn clone(&self) -> RenderingControlEvent
fn clone(&self) -> RenderingControlEvent
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 RenderingControlEvent
impl Debug for RenderingControlEvent
Source§impl<'de> Deserialize<'de> for RenderingControlEvent
impl<'de> Deserialize<'de> for RenderingControlEvent
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 RenderingControlEvent
impl RefUnwindSafe for RenderingControlEvent
impl Send for RenderingControlEvent
impl Sync for RenderingControlEvent
impl Unpin for RenderingControlEvent
impl UnsafeUnpin for RenderingControlEvent
impl UnwindSafe for RenderingControlEvent
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