pub struct SvgMetadata {Show 14 fields
pub resource_type: Option<String>,
pub format: Option<String>,
pub coverage: Option<String>,
pub description: Option<String>,
pub identifier: Option<String>,
pub language: Option<String>,
pub relation: Option<String>,
pub source: Option<String>,
pub creators: Vec<String>,
pub contributors: Vec<String>,
pub publishers: Vec<String>,
pub rights: Vec<String>,
pub keywords: Vec<String>,
pub dates: Vec<String>,
}Expand description
The Dublin Core entries of SVG documents besides the title, creator and
date every format writes (matplotlib’s SVG metadata keys), and the
several agents, subjects and dates SVG can record where the shared
entries hold one.
Fields§
§resource_type: Option<String>The resource type URI (Type), the DCMI still image by default.
format: Option<String>The media type (Format), image/svg+xml by default.
coverage: Option<String>Coverage.
description: Option<String>Description.
identifier: Option<String>Identifier.
language: Option<String>Language.
relation: Option<String>Relation.
source: Option<String>Source.
creators: Vec<String>Several creators (Creator as a list), written in place of
Metadata::creator when not empty.
contributors: Vec<String>Contributor agents.
publishers: Vec<String>Publisher agents.
rights: Vec<String>Rights holders.
keywords: Vec<String>Several keywords (Keywords as a list), written in place of
Metadata::keywords when not empty.
dates: Vec<String>Dates in ISO 8601, several making a period (Date as a list),
written in place of Metadata::date when not empty.
Implementations§
Source§impl SvgMetadata
impl SvgMetadata
Trait Implementations§
Source§impl Clone for SvgMetadata
impl Clone for SvgMetadata
Source§impl Debug for SvgMetadata
impl Debug for SvgMetadata
Source§impl Default for SvgMetadata
impl Default for SvgMetadata
impl Eq for SvgMetadata
Source§impl PartialEq for SvgMetadata
impl PartialEq for SvgMetadata
impl StructuralPartialEq for SvgMetadata
Auto Trait Implementations§
impl Forget for SvgMetadata
impl Freeze for SvgMetadata
impl Move for SvgMetadata
impl RefUnwindSafe for SvgMetadata
impl Send for SvgMetadata
impl Sync for SvgMetadata
impl Unpin for SvgMetadata
impl UnsafeUnpin for SvgMetadata
impl UnwindSafe for SvgMetadata
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