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
 */

/// Close : No more payments will be sent and the balance of the contract is 0.

/// No more payments will be sent and the balance of the contract is 0.
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Close {
    #[serde(rename = "close")]
    Close,
}

impl ToString for Close {
    fn to_string(&self) -> String {
        match self {
            Self::Close => String::from("close"),
        }
    }
}

impl Default for Close {
    fn default() -> Close {
        Self::Close
    }
}