pub struct ParsedStrings {
pub keys: Vec<String>,
pub locales: Vec<String>,
pub data: HashMap<String, HashMap<String, String>>,
}Expand description
字符串资源中间结构
Fields§
§keys: Vec<String>所有字符串资源键名,已排序
locales: Vec<String>所有支持的语言环境列表,已排序
data: HashMap<String, HashMap<String, String>>键名 -> 语言环境 -> 字符串值的映射
Trait Implementations§
Source§impl Debug for ParsedStrings
impl Debug for ParsedStrings
Source§impl PartialEq for ParsedStrings
impl PartialEq for ParsedStrings
impl StructuralPartialEq for ParsedStrings
Auto Trait Implementations§
impl Freeze for ParsedStrings
impl RefUnwindSafe for ParsedStrings
impl Send for ParsedStrings
impl Sync for ParsedStrings
impl Unpin for ParsedStrings
impl UnsafeUnpin for ParsedStrings
impl UnwindSafe for ParsedStrings
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