pub struct IdentifierName(/* private fields */);Expand description
A validated name for a supplementary standardized identifier.
Names use lowercase kebab-case. Identifiers with dedicated Citum fields,
such as doi and isbn, are reserved and cannot be duplicated here.
Implementations§
Trait Implementations§
Source§impl Borrow<str> for IdentifierName
impl Borrow<str> for IdentifierName
Source§impl Clone for IdentifierName
impl Clone for IdentifierName
Source§fn clone(&self) -> IdentifierName
fn clone(&self) -> IdentifierName
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 IdentifierName
impl Debug for IdentifierName
Source§impl<'de> Deserialize<'de> for IdentifierName
impl<'de> Deserialize<'de> for IdentifierName
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
impl Eq for IdentifierName
Source§impl FromStr for IdentifierName
impl FromStr for IdentifierName
Source§impl Hash for IdentifierName
impl Hash for IdentifierName
Source§impl Ord for IdentifierName
impl Ord for IdentifierName
Source§fn cmp(&self, other: &IdentifierName) -> Ordering
fn cmp(&self, other: &IdentifierName) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IdentifierName
impl PartialEq for IdentifierName
Source§impl PartialOrd for IdentifierName
impl PartialOrd for IdentifierName
Source§impl Serialize for IdentifierName
impl Serialize for IdentifierName
impl StructuralPartialEq for IdentifierName
Auto Trait Implementations§
impl Freeze for IdentifierName
impl RefUnwindSafe for IdentifierName
impl Send for IdentifierName
impl Sync for IdentifierName
impl Unpin for IdentifierName
impl UnsafeUnpin for IdentifierName
impl UnwindSafe for IdentifierName
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.