bitwarden_api_api/models/
security_task_type.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[repr(i64)]
#[derive(
Clone,
Copy,
Debug,
Eq,
PartialEq,
Ord,
PartialOrd,
Hash,
serde_repr::Serialize_repr,
serde_repr::Deserialize_repr,
)]
pub enum SecurityTaskType {
UpdateAtRiskCredential = 0,
}
impl std::fmt::Display for SecurityTaskType {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
Self::UpdateAtRiskCredential => write!(f, "0"),
}
}
}
impl Default for SecurityTaskType {
fn default() -> SecurityTaskType {
Self::UpdateAtRiskCredential
}
}