1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use crate::api::rcos::send_query;
use crate::error::TelescopeError;
#[derive(GraphQLQuery)]
#[graphql(
schema_path = "graphql/rcos/schema.json",
query_path = "graphql/rcos/meetings/delete.graphql",
response_derives = "Debug,Clone,Serialize",
variables_derives = "Debug,Clone,Copy"
)]
pub struct DeleteMeeting;
impl DeleteMeeting {
pub async fn execute(meeting_id: i64) -> Result<delete_meeting::ResponseData, TelescopeError> {
send_query::<Self>(delete_meeting::Variables { meeting_id }).await
}
}