mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-03-21 05:00:44 +00:00
16 lines
314 B
Rust
16 lines
314 B
Rust
//! # Check if email exists result
|
|
//!
|
|
//! @author Pierre Hubert
|
|
use serde::Serialize;
|
|
|
|
#[derive(Serialize)]
|
|
#[allow(non_snake_case)]
|
|
pub struct ResCheckEmailExists {
|
|
exists: bool
|
|
}
|
|
|
|
impl ResCheckEmailExists {
|
|
pub fn new(exists: bool) -> ResCheckEmailExists {
|
|
ResCheckEmailExists { exists }
|
|
}
|
|
} |