pub enum ElementType {
Tag,
Person,
Media,
Movie,
Serie,
Episode,
Book,
Song,
Unknown,
}Variants§
Trait Implementations§
Source§impl Clone for ElementType
impl Clone for ElementType
Source§fn clone(&self) -> ElementType
fn clone(&self) -> ElementType
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 ElementType
impl Debug for ElementType
Source§impl Default for ElementType
impl Default for ElementType
Source§fn default() -> ElementType
fn default() -> ElementType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ElementType
impl<'de> Deserialize<'de> for ElementType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ElementType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ElementType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ElementType
impl Display for ElementType
Source§impl FromStr for ElementType
impl FromStr for ElementType
Source§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<ElementType, <ElementType as FromStr>::Err>
fn from_str(s: &str) -> Result<ElementType, <ElementType as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl PartialEq for ElementType
impl PartialEq for ElementType
Source§impl Serialize for ElementType
impl Serialize for ElementType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ElementType
Source§impl TryFrom<&str> for ElementType
impl TryFrom<&str> for ElementType
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§fn try_from(
s: &str,
) -> Result<ElementType, <ElementType as TryFrom<&str>>::Error>
fn try_from( s: &str, ) -> Result<ElementType, <ElementType as TryFrom<&str>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Forget for ElementType
impl Freeze for ElementType
impl Move for ElementType
impl RefUnwindSafe for ElementType
impl Send for ElementType
impl Sync for ElementType
impl Unpin for ElementType
impl UnsafeUnpin for ElementType
impl UnwindSafe for ElementType
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