pub struct Tier2Label {
pub iri: String,
pub locale: String,
pub label: String,
pub description: Option<String>,
}Expand description
A tier-2 identifier label — an rdfs:label for an IRI in a specific
locale (T39).
Fields§
§iri: StringThe IRI this label applies to.
locale: StringThe locale code (e.g. “en”, “zh”).
label: StringThe label text.
description: Option<String>Optional description in the same locale.
Implementations§
Trait Implementations§
Source§impl Clone for Tier2Label
impl Clone for Tier2Label
Source§impl Debug for Tier2Label
impl Debug for Tier2Label
Source§impl PartialEq for Tier2Label
impl PartialEq for Tier2Label
impl StructuralPartialEq for Tier2Label
Auto Trait Implementations§
impl Freeze for Tier2Label
impl RefUnwindSafe for Tier2Label
impl Send for Tier2Label
impl Sync for Tier2Label
impl Unpin for Tier2Label
impl UnsafeUnpin for Tier2Label
impl UnwindSafe for Tier2Label
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