Skip to main content

tapis_workflows/models/
data_integrity_profile.rs

1/*
2 * Tapis Workflows API
3 *
4 * Create and manage pipelines
5 *
6 * The version of the OpenAPI document: 1.6.0
7 * Contact: cicsupport@tacc.utexas.edu
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15#[serde(tag = "type")]
16pub enum DataIntegrityProfile {
17    #[serde(rename = "checksum")]
18    Checksum(Box<models::ChecksumDataIntegrityProfile>),
19    #[serde(rename = "done_file")]
20    DoneFile(Box<models::DoneFileDataIntegrityProfile>),
21    #[serde(rename = "byte_check")]
22    ByteCheck(Box<models::ByteCheckDataIntegrityProfile>),
23}
24
25impl Default for DataIntegrityProfile {
26    fn default() -> Self {
27        Self::Checksum(Default::default())
28    }
29}