pub struct Tag {
pub id: String,
pub name: String,
pub coin_counter: i32,
pub ico_counter: i32,
pub description: String,
pub tag_type: String,
pub coins: Option<Vec<String>>,
pub icos: Option<Vec<String>>,
}Expand description
Basic information about cryptocurrency tag
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
description: StringDescription of the tag
tag_type: StringType of tag
coins: Option<Vec<String>>Coins associated with the tag
icos: Option<Vec<String>>ICOs associated with the tag
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tag
impl<'de> Deserialize<'de> for Tag
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 Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnsafeUnpin for Tag
impl UnwindSafe for Tag
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