f3-rs/src/repository.rs

15 lines
509 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
//! VCS repository relative to a project.
2023-01-02 17:13:50 +05:30
use serde::{Deserialize, Serialize};
/// VCS repository relative to a project.
#[derive(Clone, Debug, Serialize, Deserialize, Default, Eq, PartialEq)]
2023-01-02 22:21:26 +05:30
pub struct Repository {
2023-01-02 17:13:50 +05:30
/// Suffix to add to the clone URL of the project to access the repository.
pub name: String,
}