use crate::{
jscontact::{JSContactId, JSContactProperty, JSContactValue},
vcard::VCard,
};
use jmap_tools::{Key, Value};
pub mod convert;
pub mod entry;
pub mod params;
pub mod props;
#[derive(Default)]
#[allow(clippy::type_complexity)]
struct State<'x, I, B>
where
I: JSContactId,
B: JSContactId,
{
pub(super) vcard: VCard,
pub(super) converted_props: Vec<(
Vec<Key<'static, JSContactProperty<I>>>,
Value<'x, JSContactProperty<I>, JSContactValue<I, B>>,
)>,
pub(super) converted_props_count: usize,
pub(super) language: Option<String>,
}