1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 2023  Aravinth Manivannan <realaravinth@batsense.net>
// SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
//
// SPDX-License-Identifier: MIT

//! Pairs of identities mapping one forge to another.
use serde::{Deserialize, Serialize};

/// Pairs of identities mapping one forge to another. The first element is the id in the source
/// forge, the second element is the id in the destination forge.Pairs of identities mapping one
/// forge to another. The first element is the id in the source forge, the second element is the id
/// in the destination forge.
#[derive(Clone, Debug, Serialize, Deserialize, Default, Eq, PartialEq)]
pub struct Identities {
    pub pairs: Vec<usize>,
}