tapis-streams 0.3.1

Manage Tapis Streams API.
Documentation
/*
 * Streams API
 *
 * Manage Tapis Streams API.
 *
 * The version of the OpenAPI document: 1
 * Contact: cicsupport@tacc.utexas.edu
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SearchResponse {
    #[serde(rename = "metadata", skip_serializing_if = "Option::is_none")]
    pub metadata: Option<Box<models::SearchResponseMetadata>>,
    #[serde(rename = "result_set", skip_serializing_if = "Option::is_none")]
    pub result_set: Option<Vec<models::SearchObject>>,
}

impl SearchResponse {
    pub fn new() -> SearchResponse {
        SearchResponse {
            metadata: None,
            result_set: None,
        }
    }
}