pub struct GroupRenderingControlState {
pub group_volume: Option<u16>,
pub group_mute: Option<bool>,
pub group_volume_changeable: Option<bool>,
}Expand description
Complete GroupRenderingControl service state.
Canonical type used by both UPnP event streaming and polling. Fields match the UPnP GroupRenderingControl event data 1:1.
Fields§
§group_volume: Option<u16>Current group volume level (0-100)
group_mute: Option<bool>Whether the group is muted
group_volume_changeable: Option<bool>Whether the group volume is changeable
Trait Implementations§
Source§impl Clone for GroupRenderingControlState
impl Clone for GroupRenderingControlState
Source§fn clone(&self) -> GroupRenderingControlState
fn clone(&self) -> GroupRenderingControlState
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 GroupRenderingControlState
impl Debug for GroupRenderingControlState
Source§impl<'de> Deserialize<'de> for GroupRenderingControlState
impl<'de> Deserialize<'de> for GroupRenderingControlState
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 GroupRenderingControlState
Auto Trait Implementations§
impl Freeze for GroupRenderingControlState
impl RefUnwindSafe for GroupRenderingControlState
impl Send for GroupRenderingControlState
impl Sync for GroupRenderingControlState
impl Unpin for GroupRenderingControlState
impl UnsafeUnpin for GroupRenderingControlState
impl UnwindSafe for GroupRenderingControlState
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