pub struct EndnoteRef {
pub ref_type: EndnoteRefType,
pub title: String,
pub authors: Vec<String>,
pub year: Option<u32>,
pub journal: Option<String>,
pub volume: Option<String>,
pub pages: Option<String>,
pub doi: Option<String>,
}Expand description
A single EndNote reference.
Fields§
§ref_type: EndnoteRefType§title: String§year: Option<u32>§journal: Option<String>§volume: Option<String>§pages: Option<String>§doi: Option<String>Implementations§
Source§impl EndnoteRef
impl EndnoteRef
Sourcepub fn new(ref_type: EndnoteRefType, title: impl Into<String>) -> Self
pub fn new(ref_type: EndnoteRefType, title: impl Into<String>) -> Self
Create a minimal reference.
Add an author.
Trait Implementations§
Source§impl Clone for EndnoteRef
impl Clone for EndnoteRef
Source§fn clone(&self) -> EndnoteRef
fn clone(&self) -> EndnoteRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EndnoteRef
impl RefUnwindSafe for EndnoteRef
impl Send for EndnoteRef
impl Sync for EndnoteRef
impl Unpin for EndnoteRef
impl UnsafeUnpin for EndnoteRef
impl UnwindSafe for EndnoteRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more