pub struct GroupRenderingControlEvent { /* private fields */ }Expand description
GroupRenderingControl event - direct serde mapping from UPnP event XML
Implementations§
Source§impl GroupRenderingControlEvent
impl GroupRenderingControlEvent
Sourcepub fn group_volume(&self) -> Option<u16>
pub fn group_volume(&self) -> Option<u16>
Get the group volume level (0-100)
Sourcepub fn group_mute(&self) -> Option<bool>
pub fn group_mute(&self) -> Option<bool>
Get the group mute state
Sourcepub fn group_volume_changeable(&self) -> Option<bool>
pub fn group_volume_changeable(&self) -> Option<bool>
Get whether the group volume is changeable
Sourcepub fn into_state(&self) -> GroupRenderingControlState
pub fn into_state(&self) -> GroupRenderingControlState
Convert parsed UPnP event to canonical state representation.
Trait Implementations§
Source§impl Clone for GroupRenderingControlEvent
impl Clone for GroupRenderingControlEvent
Source§fn clone(&self) -> GroupRenderingControlEvent
fn clone(&self) -> GroupRenderingControlEvent
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 GroupRenderingControlEvent
impl Debug for GroupRenderingControlEvent
Source§impl<'de> Deserialize<'de> for GroupRenderingControlEvent
impl<'de> Deserialize<'de> for GroupRenderingControlEvent
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 GroupRenderingControlEvent
impl RefUnwindSafe for GroupRenderingControlEvent
impl Send for GroupRenderingControlEvent
impl Sync for GroupRenderingControlEvent
impl Unpin for GroupRenderingControlEvent
impl UnsafeUnpin for GroupRenderingControlEvent
impl UnwindSafe for GroupRenderingControlEvent
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