pub struct PersistentIdentifier {
pub identifier: String,
pub provider: Option<String>,
pub client: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
Persistent identifier entry attached to a record or parent record.
Fields§
§identifier: StringIdentifier value.
provider: Option<String>PID provider identifier, when present.
client: Option<String>PID client identifier, when present.
extra: BTreeMap<String, Value>Additional untyped fields preserved for forward compatibility.
Trait Implementations§
Source§impl Clone for PersistentIdentifier
impl Clone for PersistentIdentifier
Source§fn clone(&self) -> PersistentIdentifier
fn clone(&self) -> PersistentIdentifier
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 PersistentIdentifier
impl Debug for PersistentIdentifier
Source§impl Default for PersistentIdentifier
impl Default for PersistentIdentifier
Source§fn default() -> PersistentIdentifier
fn default() -> PersistentIdentifier
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PersistentIdentifier
impl<'de> Deserialize<'de> for PersistentIdentifier
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 PersistentIdentifier
impl PartialEq for PersistentIdentifier
Source§fn eq(&self, other: &PersistentIdentifier) -> bool
fn eq(&self, other: &PersistentIdentifier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PersistentIdentifier
impl Serialize for PersistentIdentifier
impl Eq for PersistentIdentifier
impl StructuralPartialEq for PersistentIdentifier
Auto Trait Implementations§
impl Freeze for PersistentIdentifier
impl RefUnwindSafe for PersistentIdentifier
impl Send for PersistentIdentifier
impl Sync for PersistentIdentifier
impl Unpin for PersistentIdentifier
impl UnsafeUnpin for PersistentIdentifier
impl UnwindSafe for PersistentIdentifier
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