pub struct ContentDirectoryEvent {Show 13 fields
pub browseable: Option<bool>,
pub container_update_ids: Option<String>,
pub favorite_presets_update_id: Option<String>,
pub favorites_update_id: Option<String>,
pub radio_favorites_update_id: Option<u32>,
pub radio_location_update_id: Option<u32>,
pub recently_played_update_id: Option<String>,
pub saved_queues_update_id: Option<String>,
pub share_index_in_progress: Option<bool>,
pub share_index_last_error: Option<String>,
pub share_list_update_id: Option<String>,
pub system_update_id: Option<u32>,
pub user_radio_update_id: Option<String>,
}Expand description
A parsed event produced by the ContentDirectory service.
Use SonosDevice::subscribe_content_directory() to obtain an event
stream that produces these.
Fields§
§browseable: Option<bool>§container_update_ids: Option<String>§favorite_presets_update_id: Option<String>§favorites_update_id: Option<String>§radio_favorites_update_id: Option<u32>§radio_location_update_id: Option<u32>§recently_played_update_id: Option<String>§saved_queues_update_id: Option<String>§system_update_id: Option<u32>§user_radio_update_id: Option<String>Trait Implementations§
Source§impl Clone for ContentDirectoryEvent
impl Clone for ContentDirectoryEvent
Source§fn clone(&self) -> ContentDirectoryEvent
fn clone(&self) -> ContentDirectoryEvent
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 ContentDirectoryEvent
impl Debug for ContentDirectoryEvent
Source§impl DecodeXml for ContentDirectoryEvent
impl DecodeXml for ContentDirectoryEvent
fn decode_xml(xml: &str) -> Result<Self>
Source§impl Default for ContentDirectoryEvent
impl Default for ContentDirectoryEvent
Source§fn default() -> ContentDirectoryEvent
fn default() -> ContentDirectoryEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContentDirectoryEvent
impl PartialEq for ContentDirectoryEvent
impl StructuralPartialEq for ContentDirectoryEvent
Auto Trait Implementations§
impl Freeze for ContentDirectoryEvent
impl RefUnwindSafe for ContentDirectoryEvent
impl Send for ContentDirectoryEvent
impl Sync for ContentDirectoryEvent
impl Unpin for ContentDirectoryEvent
impl UnwindSafe for ContentDirectoryEvent
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