#[non_exhaustive]pub struct Conversion {
pub text: String,
pub fallback_ids: Vec<String>,
}Expand description
The result of a raw Workshop locale conversion.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.text: StringThe converted localized Workshop text.
fallback_ids: Vec<String>Canonical identities (and the settings marker) whose spelling came
from the opt-in fallback locale instead of the target locale. Empty
when no fallback occurred.
Trait Implementations§
Source§impl Clone for Conversion
impl Clone for Conversion
Source§impl Debug for Conversion
impl Debug for Conversion
impl Eq for Conversion
Source§impl PartialEq for Conversion
impl PartialEq for Conversion
impl StructuralPartialEq for Conversion
Auto Trait Implementations§
impl Freeze for Conversion
impl RefUnwindSafe for Conversion
impl Send for Conversion
impl Sync for Conversion
impl Unpin for Conversion
impl UnsafeUnpin for Conversion
impl UnwindSafe for Conversion
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