pub enum StoryContentType {
Photo,
Video,
Live,
Unsupported,
}Variants§
Photo
A photo story
Video
A video story
Live
A live story
Unsupported
A story of unknown content type
Trait Implementations§
Source§impl Clone for StoryContentType
impl Clone for StoryContentType
Source§fn clone(&self) -> StoryContentType
fn clone(&self) -> StoryContentType
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 StoryContentType
impl Debug for StoryContentType
Source§impl<'de> Deserialize<'de> for StoryContentType
impl<'de> Deserialize<'de> for StoryContentType
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
Source§impl PartialEq for StoryContentType
impl PartialEq for StoryContentType
Source§fn eq(&self, other: &StoryContentType) -> bool
fn eq(&self, other: &StoryContentType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StoryContentType
impl Serialize for StoryContentType
impl StructuralPartialEq for StoryContentType
Auto Trait Implementations§
impl Freeze for StoryContentType
impl RefUnwindSafe for StoryContentType
impl Send for StoryContentType
impl Sync for StoryContentType
impl Unpin for StoryContentType
impl UnsafeUnpin for StoryContentType
impl UnwindSafe for StoryContentType
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