pub struct OoxmlPackage {
pub parts: HashMap<String, OoxmlPart>,
pub binary_assets: HashMap<String, Vec<u8>>,
pub warnings: Vec<String>,
}Expand description
Mirrors TypeScript OoxmlPackage.
Fields§
§parts: HashMap<String, OoxmlPart>§binary_assets: HashMap<String, Vec<u8>>§warnings: Vec<String>Import diagnostics that cannot be represented by OOXML itself. This is empty for native DOCX packages and populated by format adapters such as the legacy binary DOC importer.
Trait Implementations§
Source§impl Clone for OoxmlPackage
impl Clone for OoxmlPackage
Source§impl Debug for OoxmlPackage
impl Debug for OoxmlPackage
Source§impl<'de> Deserialize<'de> for OoxmlPackage
impl<'de> Deserialize<'de> for OoxmlPackage
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
impl Eq for OoxmlPackage
Source§impl PartialEq for OoxmlPackage
impl PartialEq for OoxmlPackage
Source§impl Serialize for OoxmlPackage
impl Serialize for OoxmlPackage
impl StructuralPartialEq for OoxmlPackage
Auto Trait Implementations§
impl Freeze for OoxmlPackage
impl RefUnwindSafe for OoxmlPackage
impl Send for OoxmlPackage
impl Sync for OoxmlPackage
impl Unpin for OoxmlPackage
impl UnsafeUnpin for OoxmlPackage
impl UnwindSafe for OoxmlPackage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more