You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
869 B
Rust
36 lines
869 B
Rust
use crate::bibliography::bib_types::article::Article;
|
|
use crate::bibliography::bib_types::book::Book;
|
|
use crate::bibliography::bib_types::booklet::Booklet;
|
|
use crate::bibliography::bib_types::in_book::InBook;
|
|
use crate::bibliography::bib_types::in_collection::InCollection;
|
|
use crate::bibliography::bib_types::manual::Manual;
|
|
use crate::bibliography::bib_types::thesis::Thesis;
|
|
use chrono::{Date, Local};
|
|
|
|
pub mod article;
|
|
pub mod book;
|
|
pub mod booklet;
|
|
pub mod in_book;
|
|
pub mod in_collection;
|
|
pub mod manual;
|
|
pub mod thesis;
|
|
|
|
pub type LocalDate = Date<Local>;
|
|
|
|
/// A type of bibliography entry
|
|
#[derive(Clone, Debug)]
|
|
pub enum BibliographyType {
|
|
Article(Article),
|
|
Book(Book),
|
|
Booklet(Booklet),
|
|
InBook(InBook),
|
|
InCollection(InCollection),
|
|
Manual(Manual),
|
|
Thesis(Thesis),
|
|
TechReport,
|
|
Unpublished,
|
|
Misc,
|
|
Url,
|
|
Repository,
|
|
}
|