pub enum InputStoryAreaType {
Location(InputStoryAreaTypeLocation),
FoundVenue(InputStoryAreaTypeFoundVenue),
PreviousVenue(InputStoryAreaTypePreviousVenue),
SuggestedReaction(InputStoryAreaTypeSuggestedReaction),
Message(InputStoryAreaTypeMessage),
}
Variants§
Location(InputStoryAreaTypeLocation)
An area pointing to a location
FoundVenue(InputStoryAreaTypeFoundVenue)
An area pointing to a venue found by the bot getOption(“venue_search_bot_username”)
PreviousVenue(InputStoryAreaTypePreviousVenue)
An area pointing to a venue already added to the story
SuggestedReaction(InputStoryAreaTypeSuggestedReaction)
An area pointing to a suggested reaction
Message(InputStoryAreaTypeMessage)
An area pointing to a message
Trait Implementations§
Source§impl Clone for InputStoryAreaType
impl Clone for InputStoryAreaType
Source§fn clone(&self) -> InputStoryAreaType
fn clone(&self) -> InputStoryAreaType
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 InputStoryAreaType
impl Debug for InputStoryAreaType
Source§impl<'de> Deserialize<'de> for InputStoryAreaType
impl<'de> Deserialize<'de> for InputStoryAreaType
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 InputStoryAreaType
impl PartialEq for InputStoryAreaType
Source§impl Serialize for InputStoryAreaType
impl Serialize for InputStoryAreaType
impl StructuralPartialEq for InputStoryAreaType
Auto Trait Implementations§
impl Freeze for InputStoryAreaType
impl RefUnwindSafe for InputStoryAreaType
impl Send for InputStoryAreaType
impl Sync for InputStoryAreaType
impl Unpin for InputStoryAreaType
impl UnwindSafe for InputStoryAreaType
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