Skip to main content

mesa_dev/models/
common.rs

1//! Common response types.
2
3use serde::Deserialize;
4
5/// A generic success response from the API.
6///
7/// Returned by operations that don't have a meaningful response body,
8/// such as delete operations.
9#[derive(Debug, Clone, Deserialize)]
10pub struct SuccessResponse {
11    /// Whether the operation succeeded.
12    pub success: bool,
13}