pub enum SbomTargetKind {
Lib(Vec<CrateType>),
Bin,
Test,
Bench,
Example,
CustomBuild,
}Variants§
Trait Implementations§
Source§impl Clone for SbomTargetKind
impl Clone for SbomTargetKind
Source§impl Debug for SbomTargetKind
impl Debug for SbomTargetKind
Source§impl<'de> Deserialize<'de> for SbomTargetKind
impl<'de> Deserialize<'de> for SbomTargetKind
Source§fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for SbomTargetKind
impl Freeze for SbomTargetKind
impl Move for SbomTargetKind
impl RefUnwindSafe for SbomTargetKind
impl Send for SbomTargetKind
impl Sync for SbomTargetKind
impl Unpin for SbomTargetKind
impl UnsafeUnpin for SbomTargetKind
impl UnwindSafe for SbomTargetKind
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<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: 24 bytes
Size for each variant:
Lib: 24 bytesBin: 0 bytesTest: 0 bytesBench: 0 bytesExample: 0 bytesCustomBuild: 0 bytes