pub struct LocalizationInfo {
pub table: String,
pub format: String,
pub source_language: String,
pub keys: usize,
pub stale_keys: usize,
pub languages: Vec<LanguageCoverage>,
pub issue_counts: BTreeMap<String, usize>,
pub issues: Vec<LocalizationIssue>,
pub files: Vec<LocalizationFile>,
}Fields§
§table: StringTable name: the catalog or .strings file stem, or the Android file name.
format: Stringxcstrings, strings, stringsdict or android_strings.
source_language: StringLanguage every other language is compared with.
keys: usizeKeys that should be translated (excludes “do not translate” entries).
stale_keys: usizeKeys Xcode marked stale: no longer found in source code.
languages: Vec<LanguageCoverage>Source language first, then by language tag.
issue_counts: BTreeMap<String, usize>Every issue in the table, by kind, including issues not listed below.
issues: Vec<LocalizationIssue>Issues relevant to this file, at most [MAX_ISSUES], by key then language.
files: Vec<LocalizationFile>Files of a multi-file table and the language each one holds.
Trait Implementations§
Source§impl Clone for LocalizationInfo
impl Clone for LocalizationInfo
Source§impl Debug for LocalizationInfo
impl Debug for LocalizationInfo
Source§impl<'de> Deserialize<'de> for LocalizationInfo
impl<'de> Deserialize<'de> for LocalizationInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LocalizationInfo
impl PartialEq for LocalizationInfo
Source§impl Serialize for LocalizationInfo
impl Serialize for LocalizationInfo
impl StructuralPartialEq for LocalizationInfo
Auto Trait Implementations§
impl Freeze for LocalizationInfo
impl RefUnwindSafe for LocalizationInfo
impl Send for LocalizationInfo
impl Sync for LocalizationInfo
impl Unpin for LocalizationInfo
impl UnsafeUnpin for LocalizationInfo
impl UnwindSafe for LocalizationInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more