Struct brevdash_data::Repository[][src]

pub struct Repository {
    pub description: RootDescription,
    // some fields omitted
}
Expand description

Definition of a brevdash data repository.

Fields

description: RootDescription

The root description string.

Implementations

Open a repository from a directory path.

Create a repository at a directory path.

The directory must already exist and be writable.

Store the description file inside the repository.

Get the path for the artifacts of a project at a specific date.

Get the path for the artifacts of a characteristic at a specific date.

Get the path for an artifact.

Load the list of project ids inside the repository.

Query whether the repository contains a project with a specific id.

Store the description of a project.

Load the description of a project by id.

Load the descriptions for all projects.

Query whether the repository contains a datapoint at a specific date.

Load a list of all datapoint dates for a specific project id.

Store a datapoint at a specific date.

Load a datapoint at a specific date.

Load all datapoints for a project id.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.