1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-03-21 05:00:44 +00:00
comunicapiv3/src/api_data/res_check_email_exists.rs

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 }
}
}