[−][src]Enum csl::variables::Variable
Variants
Abstract
abstract of the item (e.g. the abstract of a journal article)
Annote
reader’s notes about the item content
Archive
archive storing the item
ArchiveLocation
storage location within an archive (e.g. a box and folder number) technically the spec says use an underscore, but that's probably a typo.
ArchivePlace
geographic location of the archive,
Authority
issuing or judicial authority (e.g. “USPTO” for a patent, “Fairfax Circuit Court” for a legal case) CSL-M only
CallNumber
active={true} call number (to locate the item in a library)
CitationLabel
label identifying the item in in-text citations of label styles (e.g. “Ferr78”). May be assigned by the CSL processor based on item metadata.
CollectionTitle
title of the collection holding the item (e.g. the series title for a book)
ContainerTitle
title of the container holding the item (e.g. the book title for a book chapter, the journal title for a journal article)
ContainerTitleShort
short/abbreviated form of “container-title” (also accessible through the “short” form of the “container-title” variable)
Dimensions
physical (e.g. size) or temporal (e.g. running time) dimensions of the item
DOI
Digital Object Identifier (e.g. “10.1128/AEM.02591-07”)
Event
name of the related event (e.g. the conference name when citing a conference paper)
EventPlace
geographic location of the related event (e.g. “Amsterdam, the Netherlands”)
Genre
class, type or genre of the item (e.g. “adventure” for an adventure movie, “PhD dissertation” for a PhD thesis)
ISBN
International Standard Book Number
ISSN
International Standard Serial Number
Jurisdiction
geographic scope of relevance (e.g. “US” for a US patent)
Keyword
keyword(s) or tag(s) attached to the item
Medium
medium description (e.g. “CD”, “DVD”, etc.)
Note
(short) inline note giving additional item details (e.g. a concise summary or commentary)
OriginalPublisher
original publisher, for items that have been republished by a different publisher
OriginalPublisherPlace
geographic location of the original publisher (e.g. “London, UK”)
OriginalTitle
title of the original version (e.g. “Война и мир”, the untranslated Russian title of “War and Peace”)
PMCID
PubMed Central reference number
PMID
PubMed reference number
Publisher
publisher
PublisherPlace
geographic location of the publisher
References
resources related to the procedural history of a legal case
ReviewedTitle
title of the item reviewed by the current item
Scale
scale of e.g. a map
Section
container section holding the item (e.g. “politics” for a newspaper article). TODO: CSL-M appears to interpret this as a number variable?
Source
from whence the item originates (e.g. a library catalog or database)
Status
(publication) status of the item (e.g. “forthcoming”)
Title
primary title of the item
TitleShort
short/abbreviated form of “title” (also accessible through the “short” form of the “title” variable)
URL
URL (e.g. “https://aem.asm.org/cgi/content/full/74/9/2766”)
Version
version of the item (e.g. “2.0.9” for a software program)
YearSuffix
disambiguating year suffix in author-date styles (e.g. “a” in “Doe, 1999a”)
Hereinafter
CSL-M only
Dummy
CSL-M only
LocatorExtra
CSL-M only
VolumeTitle
CSL-M only
Committee
CSL-M only
Not documented in the CSL-M spec.
DocumentName
CSL-M only
Not documented in the CSL-M spec. See Indigo Book section 'R26. Short Form Citation for Court Documents' for its intended use case, and the Juris-M US cheat sheet
GazetteFlag
CSL-M only
Not documented in the CSL-M spec.
TODO: I think variable="gazette-flag" may have been superseded by type="gazette", but clearly you can still tick the "Gazette Ref" checkbox in Juris-M on a statute. Ask Frank. See also https://juris-m.github.io/cheat-sheets/us.pdf
Language
Methods
impl Variable
[src]
pub fn should_replace_hyphens(self) -> bool
[src]
pub fn hyperlink(self, value: &str) -> Option<&str>
[src]
Trait Implementations
impl PartialEq<Variable> for Variable
[src]
fn eq(&self, other: &Variable) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl AsRef<str> for Variable
[src]
impl Clone for Variable
[src]
fn clone(&self) -> Variable
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for Variable
[src]
impl Copy for Variable
[src]
impl Debug for Variable
[src]
impl Hash for Variable
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl FromStr for Variable
[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Variable, Self::Err>
[src]
impl EnumProperty for Variable
[src]
Auto Trait Implementations
impl Send for Variable
impl Unpin for Variable
impl Sync for Variable
impl RefUnwindSafe for Variable
impl UnwindSafe for Variable
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,