[][src]Struct firefly_iii::models::tag_cloud_tag::TagCloudTag

pub struct TagCloudTag {
    pub tag: Option<String>,
    pub id: Option<i32>,
    pub size: Option<f64>,
    pub relative: Option<f64>,
}

Fields

tag: Option<String>

The tag

id: Option<i32>

ID of the tag

size: Option<f64>

The total amount of money related to this tag. There is no currency information available, and this is a basic sum of all amounts added together.

relative: Option<f64>

A number between 0 and 1. 1 is given to the largest tag in the tag cloud, and 0 to the smallest. The rest are given a number between 0 and 1, related to their size in comparison to the largest tag.

Methods

impl TagCloudTag[src]

pub fn new() -> TagCloudTag[src]

Trait Implementations

impl Debug for TagCloudTag[src]

impl<'de> Deserialize<'de> for TagCloudTag[src]

impl PartialEq<TagCloudTag> for TagCloudTag[src]

impl Serialize for TagCloudTag[src]

impl StructuralPartialEq for TagCloudTag[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.