blockfrost-openapi 0.1.88

Blockfrost OpenAPI types for Cardano
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AccountAddressesContentInner {
    /// Address associated with the stake key
    #[serde(rename = "address")]
    pub address: String,
}

impl AccountAddressesContentInner {
    pub fn new(address: String) -> AccountAddressesContentInner {
        AccountAddressesContentInner {
            address,
        }
    }
}