f3-rs/src/identities.rs

17 lines
727 B
Rust
Raw Normal View History

2023-10-24 20:03:59 +05:30
// 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.
2023-01-02 17:13:50 +05:30
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)]
2023-01-02 22:21:26 +05:30
pub struct Identities {
2023-01-02 17:13:50 +05:30
pub pairs: Vec<usize>,
}