stock-trek 0.8.6

Stock Trek time-series analysis
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::dex::{asset_kind::AssetKind, network::Network};
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct AssetOnChain {
    network: Network,
    identifier: AssetKind,
}

impl AssetOnChain {
    pub fn new(network: Network, identifier: AssetKind) -> Self {
        Self {
            network,
            identifier,
        }
    }
}