pub enum GetFieldAccessExpr {
NamedStructField {
name: ScalarValue,
},
ListIndex {
key: Arc<dyn PhysicalExpr>,
},
ListRange {
start: Arc<dyn PhysicalExpr>,
stop: Arc<dyn PhysicalExpr>,
},
}
Expand description
Access a sub field of a nested type, such as Field
or List
Variants§
NamedStructField
Fields
§
name: ScalarValue
Named field, For example struct["name"]
ListIndex
Fields
§
key: Arc<dyn PhysicalExpr>
Single list index, for example: list[i]
ListRange
List range, for example list[i:j]
Trait Implementations§
source§impl Clone for GetFieldAccessExpr
impl Clone for GetFieldAccessExpr
source§fn clone(&self) -> GetFieldAccessExpr
fn clone(&self) -> GetFieldAccessExpr
Returns a copy of the value. Read more
1.0.0 · 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 GetFieldAccessExpr
impl Debug for GetFieldAccessExpr
source§impl Display for GetFieldAccessExpr
impl Display for GetFieldAccessExpr
source§impl Hash for GetFieldAccessExpr
impl Hash for GetFieldAccessExpr
Auto Trait Implementations§
impl !RefUnwindSafe for GetFieldAccessExpr
impl Send for GetFieldAccessExpr
impl Sync for GetFieldAccessExpr
impl Unpin for GetFieldAccessExpr
impl !UnwindSafe for GetFieldAccessExpr
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