|
|
@ -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 {
|
|
|
|