bitwarden_api_api/models/
cipher_reprompt_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 CipherRepromptType {
None = 0,
Password = 1,
}
impl std::fmt::Display for CipherRepromptType {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
Self::None => write!(f, "0"),
Self::Password => write!(f, "1"),
}
}
}
impl Default for CipherRepromptType {
fn default() -> CipherRepromptType {
Self::None
}
}