bitwarden_api_api/models/
security_task_type.rs

1/*
2 * Bitwarden Internal API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: latest
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15///
16#[repr(i64)]
17#[derive(
18    Clone,
19    Copy,
20    Debug,
21    Eq,
22    PartialEq,
23    Ord,
24    PartialOrd,
25    Hash,
26    serde_repr::Serialize_repr,
27    serde_repr::Deserialize_repr,
28)]
29pub enum SecurityTaskType {
30    UpdateAtRiskCredential = 0,
31}
32
33impl std::fmt::Display for SecurityTaskType {
34    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
35        match self {
36            Self::UpdateAtRiskCredential => write!(f, "0"),
37        }
38    }
39}
40
41impl Default for SecurityTaskType {
42    fn default() -> SecurityTaskType {
43        Self::UpdateAtRiskCredential
44    }
45}