pub enum Derivation {
Original,
Extracted {
method: String,
},
Summary {
author: Option<Attribution>,
},
MachineGenerated {
method: String,
reviewed: bool,
},
}Expand description
How the material referenced here relates to the original artifact.
Variants§
Original
The reference is to the original artifact itself.
Extracted
Metadata or content extracted from the original by a described method.
Summary
A human-written summary or interpretation of the original.
Fields
MachineGenerated
Produced by an automated model; must be reviewable and correctable.
Trait Implementations§
Source§impl Clone for Derivation
impl Clone for Derivation
Source§fn clone(&self) -> Derivation
fn clone(&self) -> Derivation
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 Derivation
impl Debug for Derivation
Source§impl Default for Derivation
impl Default for Derivation
Source§fn default() -> Derivation
fn default() -> Derivation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Derivation
impl<'de> Deserialize<'de> for Derivation
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 Derivation
Source§impl PartialEq for Derivation
impl PartialEq for Derivation
Source§impl Serialize for Derivation
impl Serialize for Derivation
impl StructuralPartialEq for Derivation
Auto Trait Implementations§
impl Freeze for Derivation
impl RefUnwindSafe for Derivation
impl Send for Derivation
impl Sync for Derivation
impl Unpin for Derivation
impl UnsafeUnpin for Derivation
impl UnwindSafe for Derivation
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more