pub struct StyleSource {
pub csl_id: String,
pub adapted_by: Option<String>,
pub license: Option<String>,
pub original_authors: Vec<StylePerson>,
pub links: Vec<StyleLink>,
}Expand description
Provenance block for styles adapted from a CSL 1.0 source.
Fields§
§csl_id: StringThe original CSL style ID (URI).
adapted_by: Option<String>Who performed the adaptation (e.g., “citum-migrate” or a person’s name).
license: Option<String>License URI (e.g., CC BY-SA).
Original CSL style authors.
links: Vec<StyleLink>Links from the original CSL style (documentation, self, etc.).
Trait Implementations§
Source§impl Clone for StyleSource
impl Clone for StyleSource
Source§fn clone(&self) -> StyleSource
fn clone(&self) -> StyleSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StyleSource
impl Debug for StyleSource
Source§impl Default for StyleSource
impl Default for StyleSource
Source§fn default() -> StyleSource
fn default() -> StyleSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StyleSource
impl<'de> Deserialize<'de> for StyleSource
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StyleSource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StyleSource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for StyleSource
impl Serialize for StyleSource
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for StyleSource
impl RefUnwindSafe for StyleSource
impl Send for StyleSource
impl Sync for StyleSource
impl Unpin for StyleSource
impl UnsafeUnpin for StyleSource
impl UnwindSafe for StyleSource
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