Struct libvips::ops::CsvloadSourceOptions
source · pub struct CsvloadSourceOptions {
pub skip: i32,
pub lines: i32,
pub whitespace: String,
pub separator: String,
pub flags: ForeignFlags,
pub memory: bool,
pub access: Access,
pub fail_on: FailOn,
}
Expand description
Options for csvload_source operation
Fields§
§skip: i32
skip: i32
-> Skip this many lines at the start of the file
min: 0, max: 10000000, default: 0
lines: i32
lines: i32
-> Read this many lines from the file
min: -1, max: 10000000, default: 0
whitespace: String
whitespace: String
-> Set of whitespace characters
separator: String
separator: String
-> Set of separator characters
flags: ForeignFlags
flags: ForeignFlags
-> Flags for this file
None
-> VIPS_FOREIGN_NONE = 0 [DEFAULT]
Partial
-> VIPS_FOREIGN_PARTIAL = 1
Bigendian
-> VIPS_FOREIGN_BIGENDIAN = 2
Sequential
-> VIPS_FOREIGN_SEQUENTIAL = 4
All
-> VIPS_FOREIGN_ALL = 7
memory: bool
memory: bool
-> Force open via memory
default: false
access: Access
access: Access
-> Required access pattern for this file
Random
-> VIPS_ACCESS_RANDOM = 0 [DEFAULT]
Sequential
-> VIPS_ACCESS_SEQUENTIAL = 1
SequentialUnbuffered
-> VIPS_ACCESS_SEQUENTIAL_UNBUFFERED = 2
Last
-> VIPS_ACCESS_LAST = 3
fail_on: FailOn
fail_on: FailOn
-> Error level to fail on
None
-> VIPS_FAIL_ON_NONE = 0 [DEFAULT]
Truncated
-> VIPS_FAIL_ON_TRUNCATED = 1
Error
-> VIPS_FAIL_ON_ERROR = 2
Warning
-> VIPS_FAIL_ON_WARNING = 3
Last
-> VIPS_FAIL_ON_LAST = 4
Trait Implementations§
source§impl Clone for CsvloadSourceOptions
impl Clone for CsvloadSourceOptions
source§fn clone(&self) -> CsvloadSourceOptions
fn clone(&self) -> CsvloadSourceOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more