#[non_exhaustive]pub struct ProfileImportSummary {
pub profile: ValidationProfile,
pub supported_rules: u64,
pub unsupported_rules: u64,
}Expand description
Summary produced by XML profile import.
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.profile: ValidationProfileImported profile.
supported_rules: u64Number of rules imported with executable expressions.
unsupported_rules: u64Number of rules imported as unsupported placeholders.
Trait Implementations§
Source§impl Clone for ProfileImportSummary
impl Clone for ProfileImportSummary
Source§fn clone(&self) -> ProfileImportSummary
fn clone(&self) -> ProfileImportSummary
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 ProfileImportSummary
impl Debug for ProfileImportSummary
Source§impl<'de> Deserialize<'de> for ProfileImportSummary
impl<'de> Deserialize<'de> for ProfileImportSummary
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 ProfileImportSummary
impl RefUnwindSafe for ProfileImportSummary
impl Send for ProfileImportSummary
impl Sync for ProfileImportSummary
impl Unpin for ProfileImportSummary
impl UnsafeUnpin for ProfileImportSummary
impl UnwindSafe for ProfileImportSummary
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