pub enum LibraryType {
Photos,
Shows,
Movies,
Iptv,
Books,
Other,
}Variants§
Trait Implementations§
Source§impl Clone for LibraryType
impl Clone for LibraryType
Source§fn clone(&self) -> LibraryType
fn clone(&self) -> LibraryType
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 LibraryType
impl Debug for LibraryType
Source§impl Default for LibraryType
impl Default for LibraryType
Source§fn default() -> LibraryType
fn default() -> LibraryType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LibraryType
impl<'de> Deserialize<'de> for LibraryType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LibraryType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LibraryType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LibraryType
impl Display for LibraryType
Source§impl FromStr for LibraryType
impl FromStr for LibraryType
Source§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<LibraryType, <LibraryType as FromStr>::Err>
fn from_str(s: &str) -> Result<LibraryType, <LibraryType as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl PartialEq for LibraryType
impl PartialEq for LibraryType
Source§impl Serialize for LibraryType
impl Serialize for LibraryType
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 LibraryType
Source§impl TryFrom<&str> for LibraryType
impl TryFrom<&str> for LibraryType
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§fn try_from(
s: &str,
) -> Result<LibraryType, <LibraryType as TryFrom<&str>>::Error>
fn try_from( s: &str, ) -> Result<LibraryType, <LibraryType as TryFrom<&str>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Forget for LibraryType
impl Freeze for LibraryType
impl Move for LibraryType
impl RefUnwindSafe for LibraryType
impl Send for LibraryType
impl Sync for LibraryType
impl Unpin for LibraryType
impl UnsafeUnpin for LibraryType
impl UnwindSafe for LibraryType
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