24 lines
567 B
Rust
24 lines
567 B
Rust
use std::path::Path;
|
|
|
|
use serde::Serialize;
|
|
|
|
use crate::config::Config;
|
|
use crate::error::CustomError;
|
|
use crate::intermediate::ICitationReference;
|
|
|
|
#[derive(Debug, Serialize)]
|
|
#[serde(tag = "type")]
|
|
#[serde(rename = "citation_reference")]
|
|
pub(crate) struct RenderCitationReference {}
|
|
|
|
impl RenderCitationReference {
|
|
pub(crate) fn new(
|
|
config: &Config,
|
|
output_directory: &Path,
|
|
output_file: &Path,
|
|
comment: &ICitationReference,
|
|
) -> Result<RenderCitationReference, CustomError> {
|
|
Ok(RenderCitationReference {})
|
|
}
|
|
}
|