pub enum SbomDependencyType {
Normal,
Build,
}Variants§
Normal
A dependency linked to the artifact produced by this unit.
Build
A dependency needed to run the build for this unit (e.g. a build script or proc-macro). The dependency is not linked to the artifact produced by this unit.
Trait Implementations§
Source§impl Clone for SbomDependencyType
impl Clone for SbomDependencyType
impl Copy for SbomDependencyType
Source§impl Debug for SbomDependencyType
impl Debug for SbomDependencyType
Source§impl<'de> Deserialize<'de> for SbomDependencyType
impl<'de> Deserialize<'de> for SbomDependencyType
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 SbomDependencyType
Source§impl Ord for SbomDependencyType
impl Ord for SbomDependencyType
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 SbomDependencyType
impl PartialEq for SbomDependencyType
Source§impl PartialOrd for SbomDependencyType
impl PartialOrd for SbomDependencyType
Source§impl Serialize for SbomDependencyType
impl Serialize for SbomDependencyType
impl StructuralPartialEq for SbomDependencyType
Auto Trait Implementations§
impl Forget for SbomDependencyType
impl Freeze for SbomDependencyType
impl Move for SbomDependencyType
impl RefUnwindSafe for SbomDependencyType
impl Send for SbomDependencyType
impl Sync for SbomDependencyType
impl Unpin for SbomDependencyType
impl UnsafeUnpin for SbomDependencyType
impl UnwindSafe for SbomDependencyType
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
Compare self to
key and return true if they are equal.Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Normal: 0 bytesBuild: 0 bytes