pub enum StoryAreaType {
Location(StoryAreaTypeLocation),
Venue(StoryAreaTypeVenue),
SuggestedReaction(StoryAreaTypeSuggestedReaction),
Message(StoryAreaTypeMessage),
}
Variants§
Location(StoryAreaTypeLocation)
An area pointing to a location
Venue(StoryAreaTypeVenue)
An area pointing to a venue
SuggestedReaction(StoryAreaTypeSuggestedReaction)
An area pointing to a suggested reaction. App needs to show a clickable reaction on the area and call setStoryReaction when the are is clicked
Message(StoryAreaTypeMessage)
An area pointing to a message
Trait Implementations§
Source§impl Clone for StoryAreaType
impl Clone for StoryAreaType
Source§fn clone(&self) -> StoryAreaType
fn clone(&self) -> StoryAreaType
Returns a duplicate of the value. Read more
1.0.0 · 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 StoryAreaType
impl Debug for StoryAreaType
Source§impl<'de> Deserialize<'de> for StoryAreaType
impl<'de> Deserialize<'de> for StoryAreaType
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 StoryAreaType
impl PartialEq for StoryAreaType
Source§impl Serialize for StoryAreaType
impl Serialize for StoryAreaType
impl StructuralPartialEq for StoryAreaType
Auto Trait Implementations§
impl Freeze for StoryAreaType
impl RefUnwindSafe for StoryAreaType
impl Send for StoryAreaType
impl Sync for StoryAreaType
impl Unpin for StoryAreaType
impl UnwindSafe for StoryAreaType
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