#[non_exhaustive]pub struct XmpPacket {
pub source_object: ObjectKey,
pub bytes: u64,
pub namespaces: Vec<NamespaceBinding>,
pub identification: Vec<FlavourClaim>,
pub facts: Vec<XmpFact>,
}Expand description
Parsed XMP packet summary.
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.source_object: ObjectKeyMetadata stream object that supplied the packet.
bytes: u64Packet byte count.
namespaces: Vec<NamespaceBinding>Retained namespace declarations.
identification: Vec<FlavourClaim>Recognized identification claims.
facts: Vec<XmpFact>Report-safe parser facts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for XmpPacket
impl<'de> Deserialize<'de> for XmpPacket
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 XmpPacket
impl StructuralPartialEq for XmpPacket
Auto Trait Implementations§
impl Freeze for XmpPacket
impl RefUnwindSafe for XmpPacket
impl Send for XmpPacket
impl Sync for XmpPacket
impl Unpin for XmpPacket
impl UnsafeUnpin for XmpPacket
impl UnwindSafe for XmpPacket
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