Struct fb2::LocalizedText
source · pub struct LocalizedText {
pub lang: Option<LanguageTag>,
pub content: String,
}Fields§
§lang: Option<LanguageTag>§content: StringTrait Implementations§
source§impl Debug for LocalizedText
impl Debug for LocalizedText
source§impl PartialEq<LocalizedText> for LocalizedText
impl PartialEq<LocalizedText> for LocalizedText
source§fn eq(&self, other: &LocalizedText) -> bool
fn eq(&self, other: &LocalizedText) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LocalizedText
Auto Trait Implementations§
impl RefUnwindSafe for LocalizedText
impl Send for LocalizedText
impl Sync for LocalizedText
impl Unpin for LocalizedText
impl UnwindSafe for LocalizedText
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