pub struct StrEntry {
pub key: String,
pub params: Vec<StrParam>,
pub doc: String,
}Expand description
A generated localization function: the Fluent message key (the Rust fn name), its sorted
params (each $variable the message references, agreed across all locales), and doc (the
reference-locale value text, for the generated doc comment).
Fields§
§key: String§params: Vec<StrParam>§doc: StringTrait Implementations§
impl Eq for StrEntry
impl StructuralPartialEq for StrEntry
Auto Trait Implementations§
impl Freeze for StrEntry
impl RefUnwindSafe for StrEntry
impl Send for StrEntry
impl Sync for StrEntry
impl Unpin for StrEntry
impl UnsafeUnpin for StrEntry
impl UnwindSafe for StrEntry
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