#[non_exhaustive]pub struct ProfileCatalogEntry {
pub identity: ProfileIdentity,
pub flavour: ValidationFlavour,
pub display_flavour: BoundedText,
pub source_pin: Identifier,
pub source_file: BoundedText,
pub coverage: ProfileCoverage,
}Expand description
Profile metadata suitable for listing catalogs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.identity: ProfileIdentityProfile identity.
flavour: ValidationFlavourValidation flavour.
display_flavour: BoundedTextCLI/catalog spelling for the flavour.
source_pin: IdentifierSource pin that produced this profile entry.
source_file: BoundedTextVendored or internal source description.
coverage: ProfileCoverageExecutable rule coverage.
Trait Implementations§
Source§impl Clone for ProfileCatalogEntry
impl Clone for ProfileCatalogEntry
Source§fn clone(&self) -> ProfileCatalogEntry
fn clone(&self) -> ProfileCatalogEntry
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 moreSource§impl Debug for ProfileCatalogEntry
impl Debug for ProfileCatalogEntry
Source§impl<'de> Deserialize<'de> for ProfileCatalogEntry
impl<'de> Deserialize<'de> for ProfileCatalogEntry
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
Source§impl PartialEq for ProfileCatalogEntry
impl PartialEq for ProfileCatalogEntry
Source§fn eq(&self, other: &ProfileCatalogEntry) -> bool
fn eq(&self, other: &ProfileCatalogEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProfileCatalogEntry
impl Serialize for ProfileCatalogEntry
impl Eq for ProfileCatalogEntry
impl StructuralPartialEq for ProfileCatalogEntry
Auto Trait Implementations§
impl Freeze for ProfileCatalogEntry
impl RefUnwindSafe for ProfileCatalogEntry
impl Send for ProfileCatalogEntry
impl Sync for ProfileCatalogEntry
impl Unpin for ProfileCatalogEntry
impl UnsafeUnpin for ProfileCatalogEntry
impl UnwindSafe for ProfileCatalogEntry
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