#[non_exhaustive]pub struct Flatten {
pub from_item: String,
pub ordinal: String,
pub fields: Vec<String>,
}Expand description
How this engine spells the fan-out.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.from_item: StringThe FROM item producing one row per element, written to follow the
source relation and its alias. An engine that needs two table functions
applied in series returns both here, as one piece of text.
Razeri writes FROM <source_relation> AS <source_alias> and then this,
so an implementation begins with whatever its engine puts between the
two — a comma for a lateral join in the FROM list, nothing at all for
an engine whose fan-out is a clause of its own.
ordinal: StringReads the element’s position. One for the first element, whatever the engine counts from.
fields: Vec<String>One expression per requested field, in the order asked. An array of scalars is answered with exactly one expression, reading the element whole.
Implementations§
Trait Implementations§
impl Eq for Flatten
impl StructuralPartialEq for Flatten
Auto Trait Implementations§
impl Forget for Flatten
impl Freeze for Flatten
impl Move for Flatten
impl RefUnwindSafe for Flatten
impl Send for Flatten
impl Sync for Flatten
impl Unpin for Flatten
impl UnsafeUnpin for Flatten
impl UnwindSafe for Flatten
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