pub struct UnstableApis { /* private fields */ }Implementations§
Source§impl UnstableApis
impl UnstableApis
pub fn new(client: MatrixClient) -> Self
pub async fn get_room_aliases(&self, room_id: &str) -> Result<Vec<String>>
pub async fn add_reaction_to_event( &self, room_id: &str, event_id: &str, emoji: &str, ) -> Result<String>
pub async fn get_room_hierarchy(&self, room_id: &str) -> Result<Value>
pub async fn knock_room( &self, room_id_or_alias: &str, reason: Option<&str>, ) -> Result<Value>
pub async fn get_threads( &self, room_id: &str, include: Option<&str>, ) -> Result<Value>
pub async fn get_relations_for_event( &self, room_id: &str, event_id: &str, relation_type: Option<&str>, event_type: Option<&str>, ) -> Result<Value>
pub async fn space_summary( &self, room_id: &str, max_rooms_per_space: Option<u32>, ) -> Result<Value>
pub async fn get_media_info(&self, mxc_url: &str) -> Result<MSC2380MediaInfo>
pub async fn get_media_config(&self) -> Result<Value>
Trait Implementations§
Source§impl Clone for UnstableApis
impl Clone for UnstableApis
Source§fn clone(&self) -> UnstableApis
fn clone(&self) -> UnstableApis
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 moreAuto Trait Implementations§
impl Freeze for UnstableApis
impl !RefUnwindSafe for UnstableApis
impl Send for UnstableApis
impl Sync for UnstableApis
impl Unpin for UnstableApis
impl UnsafeUnpin for UnstableApis
impl !UnwindSafe for UnstableApis
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