pub struct Citation {
pub key: String,
}Expand description
A citation reference within the document body: a single key that
resolves into a Bibliography entry at render time.
§Examples
use mos_bib::Citation;
let citation = Citation {
key: "knuth1984".to_owned(),
};
assert_eq!(citation.key, "knuth1984");Fields§
§key: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Citation
impl RefUnwindSafe for Citation
impl Send for Citation
impl Sync for Citation
impl Unpin for Citation
impl UnsafeUnpin for Citation
impl UnwindSafe for Citation
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