1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//! TODO docs

/// RAM in bytes
pub struct RamBytes(i64);

impl From<i64> for RamBytes {
    #[inline]
    #[must_use]
    fn from(value: i64) -> Self {
        Self(value)
    }
}

/// Net Weight
pub struct NetWeight(i64);

impl From<i64> for NetWeight {
    #[inline]
    #[must_use]
    fn from(value: i64) -> Self {
        Self(value)
    }
}

/// CPU Weight
pub struct CpuWeight(i64);

impl From<i64> for CpuWeight {
    #[inline]
    #[must_use]
    fn from(value: i64) -> Self {
        Self(value)
    }
}