bitwarden_api_api/models/
plan_sponsorship_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 PlanSponsorshipType {
21 FamiliesForEnterprise = 0,
22}
23
24impl std::fmt::Display for PlanSponsorshipType {
25 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
26 write!(
27 f,
28 "{}",
29 match self {
30 Self::FamiliesForEnterprise => "0",
31 }
32 )
33 }
34}
35impl Default for PlanSponsorshipType {
36 fn default() -> PlanSponsorshipType {
37 Self::FamiliesForEnterprise
38 }
39}