pub struct PackageDefects {
pub content_types_missing: bool,
pub content_types_case: Option<String>,
pub content_types_error: Option<XmlError>,
pub content_types_unreadable: Option<String>,
pub invalid_names: Vec<(String, PartNameError)>,
pub collisions: Vec<(String, String)>,
pub derivable: Vec<(String, String)>,
pub directories: Vec<String>,
pub incomplete_pieces: Vec<String>,
}Expand description
What the package layer found wrong with the container’s item names.
Fields§
§content_types_missing: boolThe content types stream item is absent.
content_types_case: Option<String>The content types stream item exists under a different case than [Content_Types].xml.
content_types_error: Option<XmlError>The content types stream could not be parsed.
content_types_unreadable: Option<String>The content types stream could not be decompressed or read.
invalid_names: Vec<(String, PartNameError)>Parts whose names violate the grammar of 6.2.2.2, with the reason.
collisions: Vec<(String, String)>Pairs of part names that are equivalent under ASCII case folding (6.2.2.3); the second loses.
derivable: Vec<(String, String)>Pairs (derived, base) where one part name is derivable from another (6.2.2.3).
directories: Vec<String>Entries that are directories; a package has no directories.
incomplete_pieces: Vec<String>Logical items whose [n].piece sequence is incomplete (7.2.5.2); not mapped to parts.
Trait Implementations§
Source§impl Clone for PackageDefects
impl Clone for PackageDefects
Source§fn clone(&self) -> PackageDefects
fn clone(&self) -> PackageDefects
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 PackageDefects
impl Debug for PackageDefects
Source§impl Default for PackageDefects
impl Default for PackageDefects
Source§fn default() -> PackageDefects
fn default() -> PackageDefects
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PackageDefects
impl RefUnwindSafe for PackageDefects
impl Send for PackageDefects
impl Sync for PackageDefects
impl Unpin for PackageDefects
impl UnsafeUnpin for PackageDefects
impl UnwindSafe for PackageDefects
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