pub struct Localized {
pub default: Option<String>,
pub langs: Vec<(String, String)>,
}Expand description
Fields§
§default: Option<String>Text from an unqualified column, if any.
langs: Vec<(String, String)>Per-language texts (language, text), in language order.
Implementations§
Trait Implementations§
impl Eq for Localized
impl StructuralPartialEq for Localized
Auto Trait Implementations§
impl Forget for Localized
impl Freeze for Localized
impl Move for Localized
impl RefUnwindSafe for Localized
impl Send for Localizedwhere
RawVecInner: Send,
impl Sync for Localizedwhere
RawVecInner: Sync,
impl Unpin for Localized
impl UnsafeUnpin for Localizedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
impl UnwindSafe for Localizedwhere
RawVecInner: UnwindSafe,
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