Crate gitlab_time_report

Crate gitlab_time_report 

Source
Expand description

This library exports time logs from a GitLab project and creates statistics and charts showing the working hours spent on it.

Re-exports§

pub use export::create_csv;

Modules§

charts
Methods to turn TimeLog into SVG and HTML charts.
dashboard
Contains modules to create a static dashboard that shows statistics and graphs about the time logs.
export
Contains modules to export the time log data into different formats.
filters
Contains functions to filter and group TimeLog.
model
Contains the data model for the time log data.
tables
Contains functions to generate the tables with time statistics.
validation
This module contains methods to validate TimeLogs and report possible problems. They are implemented via the validator chain pattern.

Structs§

FetchOptions
Contains all information needed for a call to the GitLab API. Create a new instance with FetchOptions::new().

Enums§

QueryError
Errors that can occur during an API query.

Traits§

TimeDeltaExt
Functions to simplify the handling of TimeDelta

Functions§

fetch_project_time_logs
Fetches the project time logs from the GitLab API. A valid access token is required for internal and private projects. To call the function, create a FetchOptions instance with FetchOptions::new().