mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-02-07 01:37:05 +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 }
|
||
|
}
|
||
|
}
|