Enum bird_chat::component::ClickEvent
source · [−]pub enum ClickEvent {
OpenUrl(String),
RunCommand(String),
SuggestCommand(String),
ChangePage(usize),
CopyToClipboard(String),
}Variants
OpenUrl(String)
RunCommand(String)
SuggestCommand(String)
ChangePage(usize)
CopyToClipboard(String)
Trait Implementations
sourceimpl Clone for ClickEvent
impl Clone for ClickEvent
sourcefn clone(&self) -> ClickEvent
fn clone(&self) -> ClickEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ClickEvent
impl Debug for ClickEvent
sourceimpl<'de> Deserialize<'de> for ClickEvent
impl<'de> Deserialize<'de> for ClickEvent
sourcefn 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
sourceimpl PartialEq<ClickEvent> for ClickEvent
impl PartialEq<ClickEvent> for ClickEvent
sourcefn eq(&self, other: &ClickEvent) -> bool
fn eq(&self, other: &ClickEvent) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ClickEvent) -> bool
fn ne(&self, other: &ClickEvent) -> bool
This method tests for !=.
sourceimpl Serialize for ClickEvent
impl Serialize for ClickEvent
impl StructuralPartialEq for ClickEvent
Auto Trait Implementations
impl RefUnwindSafe for ClickEvent
impl Send for ClickEvent
impl Sync for ClickEvent
impl Unpin for ClickEvent
impl UnwindSafe for ClickEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more