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};

/// ArrowField : Represents an Apache Arrow field.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ArrowField {
    /// The arrow field type.
    #[serde(rename = "Type")]
    pub r#type: String,
    /// The arrow field name.
    #[serde(rename = "Name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// The arrow field precision.
    #[serde(rename = "Precision", skip_serializing_if = "Option::is_none")]
    pub precision: Option<i32>,
    /// The arrow field scale.
    #[serde(rename = "Scale", skip_serializing_if = "Option::is_none")]
    pub scale: Option<i32>,
}

impl ArrowField {
    /// Represents an Apache Arrow field.
    pub fn new(r#type: String) -> ArrowField {
        ArrowField {
            r#type,
            name: None,
            precision: None,
            scale: None,
        }
    }
}