pub struct ExtensionMetadata {
pub extension_class: String,
pub extension_uri: Option<String>,
pub package: Option<Software>,
pub software: Option<Software>,
pub manifest_software: Option<Software>,
}Expand description
A core/extension_metadata record: an extension the file was written
with, and which a reader needs to make sense of its tagged values.
Fields§
§extension_class: StringThe extension class that wrote the values.
extension_uri: Option<String>The URI identifying the extension.
package: Option<Software>The package providing it.
Only the package key: software and manifest_software are
different things, and reading either here would make a file that
names no package look as though it does.
software: Option<Software>The software that wrote the values.
manifest_software: Option<Software>The software providing the manifest the extension follows.
Implementations§
Trait Implementations§
Source§impl Clone for ExtensionMetadata
impl Clone for ExtensionMetadata
Source§fn clone(&self) -> ExtensionMetadata
fn clone(&self) -> ExtensionMetadata
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 ExtensionMetadata
impl Debug for ExtensionMetadata
Source§impl PartialEq for ExtensionMetadata
impl PartialEq for ExtensionMetadata
impl StructuralPartialEq for ExtensionMetadata
Auto Trait Implementations§
impl Freeze for ExtensionMetadata
impl RefUnwindSafe for ExtensionMetadata
impl Send for ExtensionMetadata
impl Sync for ExtensionMetadata
impl Unpin for ExtensionMetadata
impl UnsafeUnpin for ExtensionMetadata
impl UnwindSafe for ExtensionMetadata
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