bitwarden_api_api/models/
security_task_type.rs1use serde::{Deserialize, Serialize};
12use serde_repr::{Deserialize_repr, Serialize_repr};
13
14use crate::models;
15#[repr(i64)]
17#[derive(
18 Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr,
19)]
20pub enum SecurityTaskType {
21 UpdateAtRiskCredential = 0,
22}
23
24impl std::fmt::Display for SecurityTaskType {
25 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
26 write!(
27 f,
28 "{}",
29 match self {
30 Self::UpdateAtRiskCredential => "0",
31 }
32 )
33 }
34}
35impl Default for SecurityTaskType {
36 fn default() -> SecurityTaskType {
37 Self::UpdateAtRiskCredential
38 }
39}