cal_core/rest/
queue.rs

1use serde::{Deserialize, Serialize};
2#[cfg(feature = "openapi")]
3use utoipa::ToSchema;
4
5#[derive(Debug, Clone, Serialize, Deserialize)]
6#[cfg_attr(feature = "openapi", derive(ToSchema))]
7#[serde(rename_all = "camelCase")]
8pub struct Dequeue {
9    pub account_id: String,
10    pub call_sid: String,
11    pub queue_name: String,
12    pub queue_type: String
13}