pub struct SourceDefinition {
pub file: String,
pub name: Option<String>,
pub format: Option<SourceFormat>,
pub delimiter: Option<u8>,
pub header: Option<bool>,
pub indexed_by: Option<Vec<String>>,
pub index_mode: Option<IndexMode>,
pub memory_budget: Option<String>,
pub filter: Option<Vec<FilterCondition>>,
pub join_type: Option<JoinType>,
}Fields§
§file: String§name: Option<String>§format: Option<SourceFormat>§delimiter: Option<u8>§header: Option<bool>§indexed_by: Option<Vec<String>>§index_mode: Option<IndexMode>§memory_budget: Option<String>§filter: Option<Vec<FilterCondition>>§join_type: Option<JoinType>Implementations§
Source§impl SourceDefinition
impl SourceDefinition
pub fn from_file_raw( file: &str, key_column: &str, format: Option<&SourceFormat>, ) -> Self
pub fn join_type_or_default(&self) -> JoinType
pub fn effective_index_mode(&self) -> IndexMode
pub fn indexed_columns(&self) -> Vec<&str>
Trait Implementations§
Source§impl Clone for SourceDefinition
impl Clone for SourceDefinition
Source§fn clone(&self) -> SourceDefinition
fn clone(&self) -> SourceDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SourceDefinition
impl Debug for SourceDefinition
Source§impl<'de> Deserialize<'de> for SourceDefinition
impl<'de> Deserialize<'de> for SourceDefinition
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 SourceDefinition
impl RefUnwindSafe for SourceDefinition
impl Send for SourceDefinition
impl Sync for SourceDefinition
impl Unpin for SourceDefinition
impl UnsafeUnpin for SourceDefinition
impl UnwindSafe for SourceDefinition
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