pub struct KeywordGroup {
pub group_type: Option<String>,
pub lang: Option<String>,
pub keywords: Vec<String>,
}Expand description
A keyword group.
Maps to JATS <kwd-group>. Articles frequently carry several groups — e.g.
author-supplied keywords plus publisher subject terms — distinguished by
@kwd-group-type and @xml:lang.
Fields§
§group_type: Option<String>Group type (e.g., “author”, “npg-subject”). From @kwd-group-type.
lang: Option<String>Language of the keywords. From @xml:lang.
keywords: Vec<String>Keywords in this group. From <kwd>.
Trait Implementations§
Source§impl Clone for KeywordGroup
impl Clone for KeywordGroup
Source§fn clone(&self) -> KeywordGroup
fn clone(&self) -> KeywordGroup
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 moreSource§impl Debug for KeywordGroup
impl Debug for KeywordGroup
Source§impl<'de> Deserialize<'de> for KeywordGroup
impl<'de> Deserialize<'de> for KeywordGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KeywordGroup
impl PartialEq for KeywordGroup
Source§impl Serialize for KeywordGroup
impl Serialize for KeywordGroup
impl StructuralPartialEq for KeywordGroup
Auto Trait Implementations§
impl Freeze for KeywordGroup
impl RefUnwindSafe for KeywordGroup
impl Send for KeywordGroup
impl Sync for KeywordGroup
impl Unpin for KeywordGroup
impl UnwindSafe for KeywordGroup
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