openapi-azure-storage-blob 0.1.1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Azure Storage Blob service
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2026-02-06
 *
 * Generated by: https://openapi-generator.tech
 */

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

/// ArchiveStatus : The archive status.
/// The archive status.
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum ArchiveStatus {
    #[serde(rename = "rehydrate-pending-to-hot")]
    RehydratePendingToHot,
    #[serde(rename = "rehydrate-pending-to-cool")]
    RehydratePendingToCool,
    #[serde(rename = "rehydrate-pending-to-cold")]
    RehydratePendingToCold,
}

impl std::fmt::Display for ArchiveStatus {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::RehydratePendingToHot => write!(f, "rehydrate-pending-to-hot"),
            Self::RehydratePendingToCool => write!(f, "rehydrate-pending-to-cool"),
            Self::RehydratePendingToCold => write!(f, "rehydrate-pending-to-cold"),
        }
    }
}

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