pub struct Access {
pub target: Box<Expr>,
pub field: String,
}Expand description
Field access expression (e.g., e.data.price).
Represents accessing a field of a record or object using dot notation. Can be chained for nested field access.
§Examples
In the query WHERE e.data.user.id == 1, the expression e.data.user.id
is parsed as nested Access nodes.
Fields§
§target: Box<Expr>The target expression being accessed
field: StringThe name of the field being accessed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Access
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnwindSafe for Access
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