pub struct NasrFileSummary {
pub name: String,
pub size_bytes: u64,
pub compressed_size_bytes: u64,
pub line_count: Option<u64>,
pub header_columns: Option<usize>,
pub delimiter: Option<String>,
}Expand description
Summary information about a single file in an NASR dataset.
NASR (National Airspace System Resource) data is distributed as CSV files within ZIP archives, one cycle per archive.
Fields§
§name: StringFilename within the archive
size_bytes: u64Uncompressed size in bytes
compressed_size_bytes: u64Compressed size in bytes
line_count: Option<u64>Number of lines in the CSV file (if detected)
header_columns: Option<usize>Number of header columns (if detected)
delimiter: Option<String>CSV delimiter character (if detected)
Trait Implementations§
Source§impl Clone for NasrFileSummary
impl Clone for NasrFileSummary
Source§fn clone(&self) -> NasrFileSummary
fn clone(&self) -> NasrFileSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NasrFileSummary
impl Debug for NasrFileSummary
Source§impl Default for NasrFileSummary
impl Default for NasrFileSummary
Source§fn default() -> NasrFileSummary
fn default() -> NasrFileSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NasrFileSummary
impl<'de> Deserialize<'de> for NasrFileSummary
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
Auto Trait Implementations§
impl Freeze for NasrFileSummary
impl RefUnwindSafe for NasrFileSummary
impl Send for NasrFileSummary
impl Sync for NasrFileSummary
impl Unpin for NasrFileSummary
impl UnsafeUnpin for NasrFileSummary
impl UnwindSafe for NasrFileSummary
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