mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-26 23:39:22 +00:00
15 lines
358 B
Rust
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 }
|
|
}
|
|
} |