pub enum MapProjectionItem {
AllProperties,
Property(SmallName),
Variable(SmallName),
KeyValue(SmallName, Expr),
}Expand description
One item of a <map projection>.
Variants§
AllProperties
.* – every property of the base entity.
Property(SmallName)
.prop – shorthand for prop: <base>.prop.
Variable(SmallName)
A bare variable selector – shorthand for variable: variable,
pulling a same-named variable from the surrounding scope (not a
property of the base expression).
KeyValue(SmallName, Expr)
key: <expr> – a literal entry.
Trait Implementations§
Source§impl Clone for MapProjectionItem
impl Clone for MapProjectionItem
Source§impl Debug for MapProjectionItem
impl Debug for MapProjectionItem
Source§impl PartialEq for MapProjectionItem
impl PartialEq for MapProjectionItem
impl StructuralPartialEq for MapProjectionItem
Auto Trait Implementations§
impl Forget for MapProjectionItem
impl Freeze for MapProjectionItem
impl Move for MapProjectionItem
impl RefUnwindSafe for MapProjectionItem
impl Send for MapProjectionItem
impl Sync for MapProjectionItem
impl Unpin for MapProjectionItem
impl UnsafeUnpin for MapProjectionItem
impl UnwindSafe for MapProjectionItem
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