pub struct AlarmClockEvent {
pub alarm_list_version: Option<String>,
pub daily_index_refresh_time: Option<String>,
pub date_format: Option<String>,
pub time_format: Option<String>,
pub time_generation: Option<u32>,
pub time_server: Option<String>,
pub time_zone: Option<String>,
}Expand description
A parsed event produced by the AlarmClock service.
Use SonosDevice::subscribe_alarm_clock() to obtain an event
stream that produces these.
Fields§
§alarm_list_version: Option<String>§daily_index_refresh_time: Option<String>§date_format: Option<String>§time_format: Option<String>§time_generation: Option<u32>§time_server: Option<String>§time_zone: Option<String>Trait Implementations§
Source§impl Clone for AlarmClockEvent
impl Clone for AlarmClockEvent
Source§fn clone(&self) -> AlarmClockEvent
fn clone(&self) -> AlarmClockEvent
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 AlarmClockEvent
impl Debug for AlarmClockEvent
Source§impl DecodeXml for AlarmClockEvent
impl DecodeXml for AlarmClockEvent
fn decode_xml(xml: &str) -> Result<Self>
Source§impl Default for AlarmClockEvent
impl Default for AlarmClockEvent
Source§fn default() -> AlarmClockEvent
fn default() -> AlarmClockEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for AlarmClockEvent
impl PartialEq for AlarmClockEvent
impl StructuralPartialEq for AlarmClockEvent
Auto Trait Implementations§
impl Freeze for AlarmClockEvent
impl RefUnwindSafe for AlarmClockEvent
impl Send for AlarmClockEvent
impl Sync for AlarmClockEvent
impl Unpin for AlarmClockEvent
impl UnwindSafe for AlarmClockEvent
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