tidalv2 0.3.0

Rust client library for TIDAL's v2 JSON:API - type-safe access to TIDAL's music catalog and streaming services
Documentation
/*
 * TIDAL API - Beta
 *
 * TIDAL API is a [JSON:API](https://jsonapi.org/) Web API that gives access to TIDAL functionality and data.
 *
 * The version of the OpenAPI document: 0.1.76
 *
 * Generated by: https://openapi-generator.tech
 */

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

/// BarcodeId : Barcode Id
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BarcodeId {
    #[serde(rename = "value")]
    pub value: String,
}

impl BarcodeId {
    /// Barcode Id
    pub fn new(value: String) -> BarcodeId {
        BarcodeId { value }
    }
}