pub enum JoinBy {
AddColumns,
Replace,
Extend,
Broadcast,
CartesianProduct,
JoinById(JoinById),
}
Expand description
Enum representing different strategies for combining or joining data structures.
Variants§
AddColumns
Adds only non-existing columns to the existing structure. This is the default behavior.
Replace
Replaces existing data with the new data.
Extend
Extends the existing data by appending new elements.
Broadcast
Performs a broadcast operation, replicating smaller data structures to match the size of larger ones.
CartesianProduct
Computes the Cartesian product of the input structures, resulting in all possible combinations of elements.
JoinById(JoinById)
Joins two structures using a specific identifier or key.
The behavior is determined by the provided JoinById
variant.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JoinBy
impl<'de> Deserialize<'de> for JoinBy
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
impl StructuralPartialEq for JoinBy
Auto Trait Implementations§
impl Freeze for JoinBy
impl RefUnwindSafe for JoinBy
impl Send for JoinBy
impl Sync for JoinBy
impl Unpin for JoinBy
impl UnwindSafe for JoinBy
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