pub struct PMessage {
pub context: Option<String>,
pub singular: String,
pub plural: String,
pub texts: Vec<String>,
}
Expand description
A message with plural form.
Fields§
§context: Option<String>
§singular: String
§plural: String
§texts: Vec<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PMessage
impl RefUnwindSafe for PMessage
impl Send for PMessage
impl Sync for PMessage
impl Unpin for PMessage
impl UnwindSafe for PMessage
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