#[non_exhaustive]pub struct XmlBox {
pub payload: Vec<u8>,
}Expand description
An xml box: XML text the file carries, which is not parsed.
The payload is the bytes after the box header, not checked as UTF-8 or XML.
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.payload: Vec<u8>The box contents, verbatim.
Trait Implementations§
impl Eq for XmlBox
impl StructuralPartialEq for XmlBox
Auto Trait Implementations§
impl Forget for XmlBox
impl Freeze for XmlBox
impl Move for XmlBox
impl RefUnwindSafe for XmlBox
impl Send for XmlBox
impl Sync for XmlBox
impl Unpin for XmlBox
impl UnsafeUnpin for XmlBox
impl UnwindSafe for XmlBox
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