pub struct Permalinks;Implementations§
Source§impl Permalinks
impl Permalinks
pub fn room(room_id: &str) -> String
pub fn room_with_via(room_id: &str, via: &[&str]) -> String
pub fn event(room_id: &str, event_id: &str) -> String
pub fn event_with_via(room_id: &str, event_id: &str, via: &[&str]) -> String
pub fn user(user_id: &str) -> String
pub fn parse(url: &str) -> Option<PermalinkParts>
Auto Trait Implementations§
impl Freeze for Permalinks
impl RefUnwindSafe for Permalinks
impl Send for Permalinks
impl Sync for Permalinks
impl Unpin for Permalinks
impl UnsafeUnpin for Permalinks
impl UnwindSafe for Permalinks
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