pub struct CoinTag {
pub id: String,
pub name: String,
pub coin_counter: i32,
pub ico_counter: i32,
}Expand description
Tag assigned to a coin
Fields§
§id: StringID of the tag
name: StringName of the tag
coin_counter: i32Number of coins with this tag
ico_counter: i32Number of ico projects with this tag
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CoinTag
impl<'de> Deserialize<'de> for CoinTag
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CoinTag
impl RefUnwindSafe for CoinTag
impl Send for CoinTag
impl Sync for CoinTag
impl Unpin for CoinTag
impl UnsafeUnpin for CoinTag
impl UnwindSafe for CoinTag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more