pub struct Access {
pub target: ExprRef,
pub field: StrRef,
}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: ExprRefThe target expression being accessed
field: StrRefThe name of the field being accessed
Trait Implementations§
impl Copy for Access
impl Eq for Access
impl StructuralPartialEq for Access
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