1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-27 07:49:21 +00:00
comunicapiv3/src/api_data/res_check_email_exists.rs

15 lines
289 B
Rust

//! # Check if email exists result
//!
//! @author Pierre Hubert
use serde::Serialize;
#[derive(Serialize)]
pub struct ResCheckEmailExists {
exists: bool
}
impl ResCheckEmailExists {
pub fn new(exists: bool) -> ResCheckEmailExists {
ResCheckEmailExists { exists }
}
}