Fix InCollection fields being private

Signed-off-by: trivernis <trivernis@protonmail.com>
main
trivernis 4 years ago
parent 22ed20f30e
commit e12ff8f8a1
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,7 +1,7 @@
[package] [package]
name = "bibliographix" name = "bibliographix"
description = "A bibliography management crate." description = "A bibliography management crate."
version = "0.3.0" version = "0.3.1"
authors = ["trivernis <trivernis@protonmail.com>"] authors = ["trivernis <trivernis@protonmail.com>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"

@ -10,16 +10,16 @@ use std::collections::HashMap;
/// A source that is in a collection /// A source that is in a collection
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
pub struct InCollection { pub struct InCollection {
author: String, pub author: String,
title: String, pub title: String,
publisher: String, pub publisher: String,
date: LocalDate, pub date: LocalDate,
editor: Option<String>, pub editor: Option<String>,
volume: Option<String>, pub volume: Option<String>,
series: Option<String>, pub series: Option<String>,
position: Option<String>, pub position: Option<String>,
address: Option<String>, pub address: Option<String>,
edition: Option<String>, pub edition: Option<String>,
} }
impl InCollection { impl InCollection {

Loading…
Cancel
Save