Struct pixelast::Graph[][src]

pub struct Graph {
    pub id: String,
    pub name: String,
    pub unit: String,
    pub graph_type: GraphType,
    pub color: GraphColor,
}

Graph definition in Pixela.

Fields

It is an ID for identifying the pixelation graph. Validation rule: ^[a-z][a-z0-9-]{1,16}

It is the name of the pixelation graph.

It is a unit of the quantity recorded in the pixelation graph. Ex. commit, kilogram, calory.

It is the type of quantity to be handled in the graph.

Defines the display color of the pixel in the pixelation graph.

Trait Implementations

impl Debug for Graph
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Graph

impl Sync for Graph