pub struct DevicePropertiesEvent {Show 32 fields
pub air_play_enabled: Option<bool>,
pub available_room_calibration: Option<String>,
pub behind_wifi_extender: Option<u32>,
pub channel_freq: Option<u32>,
pub channel_map_set: Option<String>,
pub config_mode: Option<String>,
pub configuration: Option<String>,
pub eth_link: Option<bool>,
pub ht_bonded_zone_commit_state: Option<u32>,
pub ht_freq: Option<u32>,
pub ht_sat_chan_map_set: Option<String>,
pub has_configured_ssid: Option<bool>,
pub hdmi_cec_available: Option<bool>,
pub icon: Option<String>,
pub invisible: Option<bool>,
pub is_idle: Option<bool>,
pub is_zone_bridge: Option<bool>,
pub last_changed_play_state: Option<String>,
pub mic_enabled: Option<u32>,
pub more_info: Option<String>,
pub orientation: Option<i32>,
pub room_calibration_state: Option<i32>,
pub secure_reg_state: Option<u32>,
pub settings_replication_state: Option<String>,
pub supports_audio_clip: Option<bool>,
pub supports_audio_in: Option<bool>,
pub tv_configuration_error: Option<bool>,
pub voice_config_state: Option<u32>,
pub wifi_enabled: Option<bool>,
pub wireless_leaf_only: Option<bool>,
pub wireless_mode: Option<u32>,
pub zone_name: Option<String>,
}Expand description
A parsed event produced by the DeviceProperties service.
Use SonosDevice::subscribe_device_properties() to obtain an event
stream that produces these.
Fields§
§air_play_enabled: Option<bool>§available_room_calibration: Option<String>§behind_wifi_extender: Option<u32>§channel_freq: Option<u32>§channel_map_set: Option<String>§config_mode: Option<String>§configuration: Option<String>§eth_link: Option<bool>§ht_bonded_zone_commit_state: Option<u32>§ht_freq: Option<u32>§ht_sat_chan_map_set: Option<String>§has_configured_ssid: Option<bool>§hdmi_cec_available: Option<bool>§icon: Option<String>§invisible: Option<bool>§is_idle: Option<bool>§is_zone_bridge: Option<bool>§last_changed_play_state: Option<String>§mic_enabled: Option<u32>§more_info: Option<String>§orientation: Option<i32>§room_calibration_state: Option<i32>§secure_reg_state: Option<u32>§settings_replication_state: Option<String>§supports_audio_clip: Option<bool>§supports_audio_in: Option<bool>§tv_configuration_error: Option<bool>§voice_config_state: Option<u32>§wifi_enabled: Option<bool>§wireless_leaf_only: Option<bool>§wireless_mode: Option<u32>§zone_name: Option<String>Trait Implementations§
Source§impl Clone for DevicePropertiesEvent
impl Clone for DevicePropertiesEvent
Source§fn clone(&self) -> DevicePropertiesEvent
fn clone(&self) -> DevicePropertiesEvent
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 DevicePropertiesEvent
impl Debug for DevicePropertiesEvent
Source§impl DecodeXml for DevicePropertiesEvent
impl DecodeXml for DevicePropertiesEvent
fn decode_xml(xml: &str) -> Result<Self>
Source§impl Default for DevicePropertiesEvent
impl Default for DevicePropertiesEvent
Source§fn default() -> DevicePropertiesEvent
fn default() -> DevicePropertiesEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for DevicePropertiesEvent
impl PartialEq for DevicePropertiesEvent
impl StructuralPartialEq for DevicePropertiesEvent
Auto Trait Implementations§
impl Freeze for DevicePropertiesEvent
impl RefUnwindSafe for DevicePropertiesEvent
impl Send for DevicePropertiesEvent
impl Sync for DevicePropertiesEvent
impl Unpin for DevicePropertiesEvent
impl UnwindSafe for DevicePropertiesEvent
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