pub enum TargetChat {
Current,
Chosen(TargetChatChosen),
InternalLink(Box<TargetChatInternalLink>),
}
Variants§
Current
The currently opened chat needs to be kept
Chosen(TargetChatChosen)
The chat needs to be chosen by the user among chats of the specified types
InternalLink(Box<TargetChatInternalLink>)
The chat needs to be open with the provided internal link
Trait Implementations§
Source§impl Clone for TargetChat
impl Clone for TargetChat
Source§fn clone(&self) -> TargetChat
fn clone(&self) -> TargetChat
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 TargetChat
impl Debug for TargetChat
Source§impl<'de> Deserialize<'de> for TargetChat
impl<'de> Deserialize<'de> for TargetChat
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 TargetChat
impl PartialEq for TargetChat
Source§impl Serialize for TargetChat
impl Serialize for TargetChat
impl StructuralPartialEq for TargetChat
Auto Trait Implementations§
impl Freeze for TargetChat
impl RefUnwindSafe for TargetChat
impl Send for TargetChat
impl Sync for TargetChat
impl Unpin for TargetChat
impl UnwindSafe for TargetChat
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