pub struct DetectedDependency {
pub package_name: String,
pub required_types: HashSet<String>,
pub api_version: Option<String>,
pub is_core_type: bool,
}Expand description
Represents a dependency on another package
Fields§
§package_name: StringThe package that provides this type
required_types: HashSet<String>The specific types we need from this package
api_version: Option<String>The API version/group for these types
is_core_type: boolWhether this is a core type (comes from base k8s, not a CRD)
Trait Implementations§
Source§impl Clone for DetectedDependency
impl Clone for DetectedDependency
Source§fn clone(&self) -> DetectedDependency
fn clone(&self) -> DetectedDependency
Returns a duplicate of the value. Read more
1.0.0 · 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 DetectedDependency
impl Debug for DetectedDependency
Source§impl<'de> Deserialize<'de> for DetectedDependency
impl<'de> Deserialize<'de> for DetectedDependency
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 DetectedDependency
impl RefUnwindSafe for DetectedDependency
impl Send for DetectedDependency
impl Sync for DetectedDependency
impl Unpin for DetectedDependency
impl UnwindSafe for DetectedDependency
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