Enum matrix_uri::MatrixUriAction
source · [−]pub enum MatrixUriAction {
Chat,
Join,
}
Expand description
Actions specifiable by the action
query parameter
Variants
Chat
Only valid for Matrix Users, client SHOULD open a canonical direct chat with the user if supported otherwise they SHOULD open a direct chat window with the user
Join
Only valid for Matrix Rooms, client SHOULD attempt to join the room specified via standard CS API
Trait Implementations
sourceimpl Clone for MatrixUriAction
impl Clone for MatrixUriAction
sourcefn clone(&self) -> MatrixUriAction
fn clone(&self) -> MatrixUriAction
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 MatrixUriAction
impl Debug for MatrixUriAction
sourceimpl FromStr for MatrixUriAction
impl FromStr for MatrixUriAction
sourceimpl PartialEq<MatrixUriAction> for MatrixUriAction
impl PartialEq<MatrixUriAction> for MatrixUriAction
sourceimpl ToString for MatrixUriAction
impl ToString for MatrixUriAction
impl Copy for MatrixUriAction
impl Eq for MatrixUriAction
impl StructuralEq for MatrixUriAction
impl StructuralPartialEq for MatrixUriAction
Auto Trait Implementations
impl RefUnwindSafe for MatrixUriAction
impl Send for MatrixUriAction
impl Sync for MatrixUriAction
impl Unpin for MatrixUriAction
impl UnwindSafe for MatrixUriAction
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more