marlowe_client 0.0.5

HTTP client for the Marlowe Runtime REST API
Documentation
/*
 * Marlowe Runtime REST API
 *
 * REST API for Marlowe Runtime
 *
 * The version of the OpenAPI document: 0.0.5.1
 *
 * Generated by: https://openapi-generator.tech
 */

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct And {
    #[serde(rename = "and")]
    pub and: Box<crate::models::Observation>,
    #[serde(rename = "both")]
    pub both: Box<crate::models::Observation>,
}

impl And {
    pub fn new(and: crate::models::Observation, both: crate::models::Observation) -> And {
        And {
            and: Box::new(and),
            both: Box::new(both),
        }
    }
}