pub struct MapAccessKey {
pub key: Expr,
pub syntax: MapAccessSyntax,
}
Expand description
Expression used to access a value in a nested structure.
Example: SAFE_OFFSET(0)
in
SELECT mymap[SAFE_OFFSET(0)];
Fields§
§key: Expr
§syntax: MapAccessSyntax
Trait Implementations§
Source§impl Clone for MapAccessKey
impl Clone for MapAccessKey
Source§fn clone(&self) -> MapAccessKey
fn clone(&self) -> MapAccessKey
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 MapAccessKey
impl Debug for MapAccessKey
Source§impl Display for MapAccessKey
impl Display for MapAccessKey
Source§impl Hash for MapAccessKey
impl Hash for MapAccessKey
Source§impl Ord for MapAccessKey
impl Ord for MapAccessKey
Source§fn cmp(&self, other: &MapAccessKey) -> Ordering
fn cmp(&self, other: &MapAccessKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MapAccessKey
impl PartialEq for MapAccessKey
Source§impl PartialOrd for MapAccessKey
impl PartialOrd for MapAccessKey
impl Eq for MapAccessKey
impl StructuralPartialEq for MapAccessKey
Auto Trait Implementations§
impl Freeze for MapAccessKey
impl RefUnwindSafe for MapAccessKey
impl Send for MapAccessKey
impl Sync for MapAccessKey
impl Unpin for MapAccessKey
impl UnwindSafe for MapAccessKey
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