gitbundle_sdk/models/commit_gpg_signature.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 CommitGpgSignature {
17 #[serde(rename = "payload")]
18 pub payload: String,
19 #[serde(rename = "signature")]
20 pub signature: String,
21}
22
23impl CommitGpgSignature {
24 pub fn new(payload: String, signature: String) -> CommitGpgSignature {
25 CommitGpgSignature { payload, signature }
26 }
27}