ruma_client_api/rendezvous/
delete_rendezvous_session.rs1pub mod unstable {
6 use ruma_common::{
11 api::{auth_scheme::NoAuthentication, request, response},
12 metadata,
13 };
14
15 metadata! {
16 method: DELETE,
17 rate_limited: true,
18 authentication: NoAuthentication,
19 history: {
20 unstable("io.element.msc4388") => "/_matrix/client/unstable/io.element.msc4388/rendezvous/{id}",
21 }
22 }
23
24 #[request(error = crate::Error)]
26 pub struct Request {
27 #[ruma_api(path)]
29 pub id: String,
30 }
31
32 impl Request {
33 pub fn new(id: String) -> Self {
35 Self { id }
36 }
37 }
38
39 #[response(error = crate::Error)]
41 #[derive(Default)]
42 pub struct Response {}
43
44 impl Response {
45 pub fn new() -> Self {
47 Self {}
48 }
49 }
50}