pub struct Metadata {
pub name: Option<String>,
pub category: Option<String>,
pub description: Option<String>,
pub extra: BTreeMap<String, String>,
}Expand description
Metadata shared by supported dictionary formats.
Fields§
§name: Option<String>Human-readable dictionary name.
category: Option<String>Dictionary category, when supplied by the source.
description: Option<String>Dictionary description, when supplied by the source.
extra: BTreeMap<String, String>Source-specific textual metadata that has no common field.
Trait Implementations§
impl Eq for Metadata
impl StructuralPartialEq for Metadata
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnsafeUnpin for Metadata
impl UnwindSafe for Metadata
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