#[repr(usize)]pub enum SoftwarePredicate {
Show 15 variants
Contains = 0,
ProvidesApi = 1,
ConsumesApi = 2,
DependsOn = 3,
Configures = 4,
Builds = 5,
Produces = 6,
Packages = 7,
Deploys = 8,
RunsAs = 9,
Tests = 10,
Documents = 11,
DerivedFrom = 12,
ObservedAs = 13,
Supersedes = 14,
}Expand description
Controlled relationship vocabulary for provenance-bearing software statements.
Variants§
Contains = 0
ProvidesApi = 1
ConsumesApi = 2
DependsOn = 3
Configures = 4
Builds = 5
Produces = 6
Packages = 7
Deploys = 8
RunsAs = 9
Tests = 10
Documents = 11
DerivedFrom = 12
ObservedAs = 13
Supersedes = 14
Implementations§
Trait Implementations§
Source§impl Clone for SoftwarePredicate
impl Clone for SoftwarePredicate
Source§fn clone(&self) -> SoftwarePredicate
fn clone(&self) -> SoftwarePredicate
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 moreimpl Copy for SoftwarePredicate
Source§impl Debug for SoftwarePredicate
impl Debug for SoftwarePredicate
Source§impl<'de> Deserialize<'de> for SoftwarePredicate
impl<'de> Deserialize<'de> for SoftwarePredicate
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 SoftwarePredicate
Source§impl Hash for SoftwarePredicate
impl Hash for SoftwarePredicate
Source§impl Ord for SoftwarePredicate
impl Ord for SoftwarePredicate
Source§fn cmp(&self, other: &SoftwarePredicate) -> Ordering
fn cmp(&self, other: &SoftwarePredicate) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SoftwarePredicate
impl PartialEq for SoftwarePredicate
Source§impl PartialOrd for SoftwarePredicate
impl PartialOrd for SoftwarePredicate
Source§impl Serialize for SoftwarePredicate
impl Serialize for SoftwarePredicate
impl StructuralPartialEq for SoftwarePredicate
Auto Trait Implementations§
impl Freeze for SoftwarePredicate
impl RefUnwindSafe for SoftwarePredicate
impl Send for SoftwarePredicate
impl Sync for SoftwarePredicate
impl Unpin for SoftwarePredicate
impl UnsafeUnpin for SoftwarePredicate
impl UnwindSafe for SoftwarePredicate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.