pub enum ContributionRole {
Originated,
Derived,
Formalized,
Extracted,
Reviewed,
Vouched,
}Expand description
The kind of contribution. Only vouched carries trust weight, and it maps to
a human signature — a model or agent can never be vouched.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ContributionRole
impl Clone for ContributionRole
Source§fn clone(&self) -> ContributionRole
fn clone(&self) -> ContributionRole
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 ContributionRole
impl Debug for ContributionRole
Source§impl<'de> Deserialize<'de> for ContributionRole
impl<'de> Deserialize<'de> for ContributionRole
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 ContributionRole
Source§impl PartialEq for ContributionRole
impl PartialEq for ContributionRole
Source§impl Serialize for ContributionRole
impl Serialize for ContributionRole
impl StructuralPartialEq for ContributionRole
Auto Trait Implementations§
impl Freeze for ContributionRole
impl RefUnwindSafe for ContributionRole
impl Send for ContributionRole
impl Sync for ContributionRole
impl Unpin for ContributionRole
impl UnsafeUnpin for ContributionRole
impl UnwindSafe for ContributionRole
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.