Skip to main content

gitbundle_sdk/models/
security_settings.rs

1/*
2 * GitBundle API
3 *
4 * GitBundle API documentation.
5 *
6 * The version of the OpenAPI document: 3.4.1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SecuritySettings {
17    #[serde(
18        rename = "secret_scanning_enabled",
19        skip_serializing_if = "Option::is_none"
20    )]
21    pub secret_scanning_enabled: Option<bool>,
22}
23
24impl SecuritySettings {
25    pub fn new() -> SecuritySettings {
26        SecuritySettings {
27            secret_scanning_enabled: None,
28        }
29    }
30}