pub struct FileFacts {
pub size_bytes: u64,
pub record_count: u64,
pub source_language: Option<String>,
pub target_languages: Vec<String>,
}Expand description
Facts read from an imported terminology / parallel-data file.
Fields§
§size_bytes: u64Decoded byte size of the file.
record_count: u64Number of data records (rows past the header for CSV/TSV).
source_language: Option<String>Source language code (first column header of a CSV/TSV), if derivable.
target_languages: Vec<String>Target language codes (remaining column headers), if derivable.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileFacts
impl RefUnwindSafe for FileFacts
impl Send for FileFacts
impl Sync for FileFacts
impl Unpin for FileFacts
impl UnsafeUnpin for FileFacts
impl UnwindSafe for FileFacts
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