pub struct ClassifyEntry {
pub crate_name: String,
pub classification: Classification,
}Expand description
A crate classification entry from [[classify]] in .capsec.toml.
Overrides any [package.metadata.capsec] classification in the crate’s own Cargo.toml.
Fields§
§crate_name: StringCrate name to classify (e.g., "serde", "my-app").
classification: ClassificationClassification: pure or resource.
Trait Implementations§
Source§impl Debug for ClassifyEntry
impl Debug for ClassifyEntry
Source§impl<'de> Deserialize<'de> for ClassifyEntry
impl<'de> Deserialize<'de> for ClassifyEntry
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
Auto Trait Implementations§
impl Freeze for ClassifyEntry
impl RefUnwindSafe for ClassifyEntry
impl Send for ClassifyEntry
impl Sync for ClassifyEntry
impl Unpin for ClassifyEntry
impl UnsafeUnpin for ClassifyEntry
impl UnwindSafe for ClassifyEntry
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