pub enum Special {
None,
GIF,
YouTube {
id: String,
timestamp: Option<String>,
},
Lightspeed {
content_type: LightspeedType,
id: String,
},
Twitch {
content_type: TwitchType,
id: String,
},
Spotify {
content_type: String,
id: String,
},
Soundcloud,
Bandcamp {
content_type: BandcampType,
id: String,
},
}
Expand description
Information about special remote content
Variants§
None
No remote content
GIF
Content hint that this contains a GIF
Use metadata to find video or image to play
YouTube
YouTube video
Lightspeed
Lightspeed.tv stream
Twitch
Twitch stream or clip
Spotify
Spotify track
Soundcloud
Soundcloud track
Bandcamp
Bandcamp track
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Special
impl<'de> Deserialize<'de> for Special
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Special
impl RefUnwindSafe for Special
impl Send for Special
impl Sync for Special
impl Unpin for Special
impl UnwindSafe for Special
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