pub enum ExtractFN {
Show 14 variants
Regex {
expr: String,
index: usize,
replace_missing_value: bool,
replace_missing_value_with: Option<String>,
},
Partial {
expr: String,
},
Substring {
index: usize,
length: Option<usize>,
},
Strlen,
TimeFormat {
format: Option<String>,
time_zone: Option<String>,
locale: Option<String>,
granularity: Option<Granularity>,
as_millis: bool,
},
Time {
time_format: String,
result_format: String,
joda: bool,
},
Javascript {
function: String,
},
RegisteredLookup {
lookup: String,
retain_missing_value: bool,
},
Lookup {
lookup: LookupMap,
retain_missing_value: bool,
injective: bool,
replace_missing_value_with: String,
},
Cascade {
extraction_fns: Vec<ExtractFN>,
},
StringFormat {
format: String,
null_handling: Option<NullHandling>,
},
Upper {
locale: Option<String>,
},
Lower {
locale: Option<String>,
},
Bucket {
size: usize,
offset: usize,
},
}
Variants§
Regex
Fields
Partial
Substring
Strlen
TimeFormat
Fields
§
granularity: Option<Granularity>
Time
Javascript
RegisteredLookup
Lookup
Fields
Cascade
StringFormat
Upper
Lower
Bucket
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExtractFN
impl<'de> Deserialize<'de> for ExtractFN
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 ExtractFN
impl RefUnwindSafe for ExtractFN
impl Send for ExtractFN
impl Sync for ExtractFN
impl Unpin for ExtractFN
impl UnwindSafe for ExtractFN
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