harbor_api/models/
project_scanner.rs

1/*
2 * Harbor API
3 *
4 * These APIs provide services for manipulating Harbor project.
5 *
6 * The version of the OpenAPI document: 2.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ProjectScanner {
16    /// The identifier of the scanner registration
17    #[serde(rename = "uuid")]
18    pub uuid: String,
19}
20
21impl ProjectScanner {
22    pub fn new(uuid: String) -> ProjectScanner {
23        ProjectScanner {
24            uuid,
25        }
26    }
27}
28