fireblocks_sdk/models/
fee_breakdown_one_of.rs

1// Fireblocks API
2//
3// Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain.  - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
4//
5// The version of the OpenAPI document: 1.8.0
6// Contact: developers@fireblocks.com
7// Generated by: https://openapi-generator.tech
8
9use {
10    crate::models,
11    serde::{Deserialize, Serialize},
12};
13
14/// FeeBreakdownOneOf : Solana-specific fee breakdown
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct FeeBreakdownOneOf {
17    /// Base fee for Solana transaction
18    #[serde(rename = "baseFee", skip_serializing_if = "Option::is_none")]
19    pub base_fee: Option<String>,
20    /// Priority fee for Solana transaction
21    #[serde(rename = "priorityFee", skip_serializing_if = "Option::is_none")]
22    pub priority_fee: Option<String>,
23    /// Rent fee for Solana account creation/storage
24    #[serde(rename = "rent", skip_serializing_if = "Option::is_none")]
25    pub rent: Option<String>,
26    /// Total fee amount
27    #[serde(rename = "totalFee", skip_serializing_if = "Option::is_none")]
28    pub total_fee: Option<String>,
29}
30
31impl FeeBreakdownOneOf {
32    /// Solana-specific fee breakdown
33    pub fn new() -> FeeBreakdownOneOf {
34        FeeBreakdownOneOf {
35            base_fee: None,
36            priority_fee: None,
37            rent: None,
38            total_fee: None,
39        }
40    }
41}