pub struct OpenParam {
pub target: OpenTarget,
pub format: InputFormat,
pub num_of_fields: i32,
pub compression: bool,
pub sorted: bool,
}Fields§
§target: OpenTargetThe path to the data source
format: InputFormatWhat format of the input we are expecting
num_of_fields: i32How many field for each record
compression: boolIf the input file is compressed
sorted: boolIf this file is known sorted
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpenParam
impl<'de> Deserialize<'de> for OpenParam
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 OpenParam
impl RefUnwindSafe for OpenParam
impl Send for OpenParam
impl Sync for OpenParam
impl Unpin for OpenParam
impl UnwindSafe for OpenParam
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