pub enum ObjectClass {
MusicTrack,
AudioBroadcast,
PlayList,
Container,
}Variants§
Trait Implementations§
Source§impl Clone for ObjectClass
impl Clone for ObjectClass
Source§fn clone(&self) -> ObjectClass
fn clone(&self) -> ObjectClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObjectClass
impl Debug for ObjectClass
Source§impl Default for ObjectClass
impl Default for ObjectClass
Source§fn default() -> ObjectClass
fn default() -> ObjectClass
Returns the “default value” for a type. Read more
impl Eq for ObjectClass
Source§impl<'xml> FromXml<'xml> for ObjectClass
impl<'xml> FromXml<'xml> for ObjectClass
const KIND: Kind = ::instant_xml::Kind::Scalar
type Accumulator = Option<ObjectClass>
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 ObjectClass
impl PartialEq for ObjectClass
Source§fn eq(&self, other: &ObjectClass) -> bool
fn eq(&self, other: &ObjectClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ObjectClass
Auto Trait Implementations§
impl Freeze for ObjectClass
impl RefUnwindSafe for ObjectClass
impl Send for ObjectClass
impl Sync for ObjectClass
impl Unpin for ObjectClass
impl UnsafeUnpin for ObjectClass
impl UnwindSafe for ObjectClass
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