pub struct Response {
pub room_id: OwnedRoomId,
pub servers: Vec<OwnedServerName>,
}
Available on crate features
client
or server
only.Expand description
Response type for the get_alias
endpoint.
Fields§
§room_id: OwnedRoomId
The room ID for this room alias.
servers: Vec<OwnedServerName>
A list of servers that are aware of this room ID.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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