polyester/models/
address_book.rs1use serde_json::Value;
4
5#[derive(Debug, Clone, PartialEq, Eq, Default)]
6pub struct AddressBookEntry {
7 pub address_book_entry_id: String,
8 pub label: String,
9 pub kind: String,
10 pub revision: u64,
12}
13
14#[derive(Debug, Clone, PartialEq, Eq, Default)]
15pub struct AddressBookEntriesList {
16 pub entries: Vec<AddressBookEntry>,
17 pub next_page_token: String,
18}
19
20#[derive(Debug, Clone, PartialEq, Eq, Default)]
21pub struct AddressBookTag {
22 pub tag_id: String,
23 pub name: String,
24 pub color: String,
25}
26
27#[derive(Debug, Clone, PartialEq)]
28pub struct AddressBooksList {
29 pub books: Vec<Value>,
30}
31
32#[derive(Debug, Clone, PartialEq, Eq, Default)]
33pub struct AddressBookViewInvalidation {
34 pub scope: String,
35 pub invalidated_at: String,
36}