pub struct MatrixToUri { /* private fields */ }Expand description
The matrix.to URI representation of a user, room or event.
Get the URI through its Display implementation (i.e. by interpolating it
in a formatting macro or via .to_string()).
Implementations§
Trait Implementations§
Source§impl Debug for MatrixToUri
impl Debug for MatrixToUri
Source§impl Display for MatrixToUri
impl Display for MatrixToUri
Source§impl PartialEq for MatrixToUri
impl PartialEq for MatrixToUri
Source§impl TryFrom<&str> for MatrixToUri
impl TryFrom<&str> for MatrixToUri
impl Eq for MatrixToUri
impl StructuralPartialEq for MatrixToUri
Auto Trait Implementations§
impl Freeze for MatrixToUri
impl RefUnwindSafe for MatrixToUri
impl Send for MatrixToUri
impl Sync for MatrixToUri
impl Unpin for MatrixToUri
impl UnwindSafe for MatrixToUri
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more