pub enum PostHint {
Image,
Link,
HostedVideo,
RichVideo,
DataSelf,
Gallery,
}
Expand description
Info on what the post may contain
Variants§
Image
The post is an image
Link
The post is a link
HostedVideo
A video hosted on reddit
RichVideo
DataSelf
Gallery
Trait Implementations§
source§impl<'de> Deserialize<'de> for PostHint
impl<'de> Deserialize<'de> for PostHint
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
impl Eq for PostHint
impl StructuralPartialEq for PostHint
Auto Trait Implementations§
impl Freeze for PostHint
impl RefUnwindSafe for PostHint
impl Send for PostHint
impl Sync for PostHint
impl Unpin for PostHint
impl UnwindSafe for PostHint
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