xmtp_proto/types/api_identifier.rs
1use crate::xmtp::identity::associations::IdentifierKind;
2use std::collections::HashMap;
3
4/// Maps account addresses to inbox IDs. If no inbox ID found, the value will be None
5pub type IdentifierToInboxIdMap = HashMap<ApiIdentifier, String>;
6#[derive(Debug, Hash, PartialEq, Eq, Clone)]
7pub struct ApiIdentifier {
8 pub identifier: String,
9 pub identifier_kind: IdentifierKind,
10}