pub struct PackagePart {
pub name: String,
pub data: Vec<u8>,
}Expand description
A single part within the OPC package.
Fields§
§name: StringPart name (URI), e.g. “/word/document.xml”
data: Vec<u8>Raw bytes of the part content
Trait Implementations§
Source§impl Clone for PackagePart
impl Clone for PackagePart
Source§fn clone(&self) -> PackagePart
fn clone(&self) -> PackagePart
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 moreAuto Trait Implementations§
impl Freeze for PackagePart
impl RefUnwindSafe for PackagePart
impl Send for PackagePart
impl Sync for PackagePart
impl Unpin for PackagePart
impl UnsafeUnpin for PackagePart
impl UnwindSafe for PackagePart
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