pub struct CSVReaderOptions {
pub delimiter: Option<char>,
pub line_delimiter: Option<char>,
pub lon_key: Option<String>,
pub lat_key: Option<String>,
pub height_key: Option<String>,
}Expand description
User defined options on how to parse the CSV file
Fields§
§delimiter: Option<char>The delimiter to use to separate lines [Default: ","]
line_delimiter: Option<char>The line_delimiter to use to separate lines [Default: "\n"]
lon_key: Option<String>If provided the lookup of the longitude [Default: "lon"]
lat_key: Option<String>If provided the lookup of the latitude [Default: "lat"]
height_key: Option<String>If provided the lookup for the height value [Default: None]
Trait Implementations§
Source§impl Debug for CSVReaderOptions
impl Debug for CSVReaderOptions
Source§impl Default for CSVReaderOptions
impl Default for CSVReaderOptions
Source§fn default() -> CSVReaderOptions
fn default() -> CSVReaderOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CSVReaderOptions
impl RefUnwindSafe for CSVReaderOptions
impl Send for CSVReaderOptions
impl Sync for CSVReaderOptions
impl Unpin for CSVReaderOptions
impl UnwindSafe for CSVReaderOptions
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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> 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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().