pub struct IdentifierView {
pub iri: String,
pub modality: IdentifierModality,
pub content: String,
pub locale: Option<String>,
}Expand description
An identifier view — one modality’s presentation of an identity (W9).
Fields§
§iri: StringThe canonical IRI this view represents.
modality: IdentifierModalityThe modality of this view.
content: StringThe view’s content (spoken name, emblem description, etc.).
locale: Option<String>Optional locale code (e.g. “en”, “zh”).
Implementations§
Trait Implementations§
Source§impl Clone for IdentifierView
impl Clone for IdentifierView
Source§impl Debug for IdentifierView
impl Debug for IdentifierView
Source§impl PartialEq for IdentifierView
impl PartialEq for IdentifierView
impl StructuralPartialEq for IdentifierView
Auto Trait Implementations§
impl Freeze for IdentifierView
impl RefUnwindSafe for IdentifierView
impl Send for IdentifierView
impl Sync for IdentifierView
impl Unpin for IdentifierView
impl UnsafeUnpin for IdentifierView
impl UnwindSafe for IdentifierView
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