pub enum AlarmPlayMode {
Normal,
RepeatAll,
ShuffleNorepeat,
Shuffle,
Unspecified(String),
}Variants§
Normal
RepeatAll
ShuffleNorepeat
Shuffle
Unspecified(String)
Allows passing a value that was not known at the time that this crate was generated from the available device descriptions
Trait Implementations§
Source§impl Clone for AlarmPlayMode
impl Clone for AlarmPlayMode
Source§fn clone(&self) -> AlarmPlayMode
fn clone(&self) -> AlarmPlayMode
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 AlarmPlayMode
impl Debug for AlarmPlayMode
Source§impl Default for AlarmPlayMode
impl Default for AlarmPlayMode
Source§fn default() -> AlarmPlayMode
fn default() -> AlarmPlayMode
Returns the “default value” for a type. Read more
Source§impl FromStr for AlarmPlayMode
impl FromStr for AlarmPlayMode
Source§impl<'xml> FromXml<'xml> for AlarmPlayMode
impl<'xml> FromXml<'xml> for AlarmPlayMode
const KIND: Kind = instant_xml::Kind::Scalar
type Accumulator = Option<AlarmPlayMode>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Source§impl PartialEq for AlarmPlayMode
impl PartialEq for AlarmPlayMode
Source§impl ToString for AlarmPlayMode
impl ToString for AlarmPlayMode
Source§impl ToXml for AlarmPlayMode
impl ToXml for AlarmPlayMode
impl Eq for AlarmPlayMode
impl StructuralPartialEq for AlarmPlayMode
Auto Trait Implementations§
impl Freeze for AlarmPlayMode
impl RefUnwindSafe for AlarmPlayMode
impl Send for AlarmPlayMode
impl Sync for AlarmPlayMode
impl Unpin for AlarmPlayMode
impl UnwindSafe for AlarmPlayMode
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