f3-rs/src/identities.rs

17 lines
727 B
Rust

// 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>,
}