Enum SongType
pub enum SongType {
LOCAL,
URL,
YOUTUBE,
SPOTIFY,
DASH,
HLS,
}
Variants§
Trait Implementations§
§impl<'de> Deserialize<'de> for SongType
impl<'de> Deserialize<'de> for SongType
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SongType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SongType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for SongType
impl Serialize for SongType
§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 Copy for SongType
impl<'__de> Decode<'__de> for SongType
impl Encode for SongType
impl Eq for SongType
impl StructuralPartialEq for SongType
Auto Trait Implementations§
impl Freeze for SongType
impl RefUnwindSafe for SongType
impl Send for SongType
impl Sync for SongType
impl Unpin for SongType
impl UnwindSafe for SongType
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