pub struct Opts<'a> { /* fields omitted */ }
Expand description
Options for the translate call
If the key does not exist, fallback to using another key.
Set the locale for this translate call.
Set any variables to be interpolated.
Set the count for this translation.
Uses Rails style pluralization options: zero, one, other.
Returns the “default value” for a type. Read more
impl<'a, T> From<T> for Opts<'a> where
T: OptsPart<'a>,
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.