pub struct HTControlEvent {
pub ir_repeater_state: Option<IRRepeaterState>,
pub tos_link_connected: Option<bool>,
}Expand description
A parsed event produced by the HTControl service.
Use SonosDevice::subscribe_ht_control() to obtain an event
stream that produces these.
Fields§
§ir_repeater_state: Option<IRRepeaterState>§tos_link_connected: Option<bool>Trait Implementations§
Source§impl Clone for HTControlEvent
impl Clone for HTControlEvent
Source§fn clone(&self) -> HTControlEvent
fn clone(&self) -> HTControlEvent
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 HTControlEvent
impl Debug for HTControlEvent
Source§impl DecodeXml for HTControlEvent
impl DecodeXml for HTControlEvent
fn decode_xml(xml: &str) -> Result<Self>
Source§impl Default for HTControlEvent
impl Default for HTControlEvent
Source§fn default() -> HTControlEvent
fn default() -> HTControlEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for HTControlEvent
impl PartialEq for HTControlEvent
impl StructuralPartialEq for HTControlEvent
Auto Trait Implementations§
impl Freeze for HTControlEvent
impl RefUnwindSafe for HTControlEvent
impl Send for HTControlEvent
impl Sync for HTControlEvent
impl Unpin for HTControlEvent
impl UnwindSafe for HTControlEvent
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