pub enum DataRefType {
PrimaryResult,
RawData,
SupportingInfo,
DerivedData,
}Expand description
Role of a data reference. Closed enum per
acdp-data-ref.schema.json type.
Variants§
PrimaryResult
The principal output of the context.
RawData
Source data the context describes or refers back to.
SupportingInfo
Auxiliary material that supports the context (notes, plots, etc.).
DerivedData
Output computed/derived from the primary result.
Trait Implementations§
Source§impl Clone for DataRefType
impl Clone for DataRefType
Source§fn clone(&self) -> DataRefType
fn clone(&self) -> DataRefType
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 DataRefType
impl Debug for DataRefType
Source§impl<'de> Deserialize<'de> for DataRefType
impl<'de> Deserialize<'de> for DataRefType
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 DataRefType
Source§impl PartialEq for DataRefType
impl PartialEq for DataRefType
Source§fn eq(&self, other: &DataRefType) -> bool
fn eq(&self, other: &DataRefType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DataRefType
impl Serialize for DataRefType
impl StructuralPartialEq for DataRefType
Auto Trait Implementations§
impl Freeze for DataRefType
impl RefUnwindSafe for DataRefType
impl Send for DataRefType
impl Sync for DataRefType
impl Unpin for DataRefType
impl UnsafeUnpin for DataRefType
impl UnwindSafe for DataRefType
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,
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.