pub struct RenderingControlState {
pub master_volume: Option<String>,
pub master_mute: Option<String>,
pub lf_volume: Option<String>,
pub rf_volume: Option<String>,
pub lf_mute: Option<String>,
pub rf_mute: Option<String>,
pub bass: Option<String>,
pub treble: Option<String>,
pub loudness: Option<String>,
pub balance: Option<String>,
pub other_channels: HashMap<String, String>,
}Expand description
Complete RenderingControl service state.
Canonical type used by both UPnP event streaming and polling. Fields match the UPnP RenderingControl event data 1:1.
Fields§
§master_volume: Option<String>Current volume level (0-100) for Master channel
master_mute: Option<String>Current mute state for Master channel
lf_volume: Option<String>Current volume level (0-100) for Left Front channel
rf_volume: Option<String>Current volume level (0-100) for Right Front channel
lf_mute: Option<String>Current mute state for Left Front channel
rf_mute: Option<String>Current mute state for Right Front channel
bass: Option<String>Current bass level
treble: Option<String>Current treble level
loudness: Option<String>Current loudness setting
balance: Option<String>Balance setting (-100 to +100)
other_channels: HashMap<String, String>Additional channel configurations (can be extended)
Trait Implementations§
Source§impl Clone for RenderingControlState
impl Clone for RenderingControlState
Source§fn clone(&self) -> RenderingControlState
fn clone(&self) -> RenderingControlState
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 RenderingControlState
impl Debug for RenderingControlState
Source§impl<'de> Deserialize<'de> for RenderingControlState
impl<'de> Deserialize<'de> for RenderingControlState
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
Source§impl PartialEq for RenderingControlState
impl PartialEq for RenderingControlState
Source§impl Serialize for RenderingControlState
impl Serialize for RenderingControlState
impl StructuralPartialEq for RenderingControlState
Auto Trait Implementations§
impl Freeze for RenderingControlState
impl RefUnwindSafe for RenderingControlState
impl Send for RenderingControlState
impl Sync for RenderingControlState
impl Unpin for RenderingControlState
impl UnsafeUnpin for RenderingControlState
impl UnwindSafe for RenderingControlState
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