fireblocks_sdk/models/
payout_init_method.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///
15#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
16pub enum PayoutInitMethod {
17    #[serde(rename = "FILE")]
18    File,
19    #[serde(rename = "API")]
20    Api,
21}
22
23impl std::fmt::Display for PayoutInitMethod {
24    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
25        match self {
26            Self::File => write!(f, "FILE"),
27            Self::Api => write!(f, "API"),
28        }
29    }
30}
31
32impl Default for PayoutInitMethod {
33    fn default() -> PayoutInitMethod {
34        Self::File
35    }
36}