1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-26 23:39:22 +00:00
comunicapiv3/src/api_data/res_check_security_questions_exists.rs

15 lines
358 B
Rust

//! # Check if security questions are set for a user
//!
//! @author Pierre Hubert
use serde::Serialize;
#[derive(Serialize)]
pub struct ResCheckSecurityQuestionsExists {
defined: bool
}
impl ResCheckSecurityQuestionsExists {
pub fn new(defined: bool) -> ResCheckSecurityQuestionsExists {
ResCheckSecurityQuestionsExists { defined }
}
}