Struct sqlparser::ast::MapAccessKey
source · 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<'de> Deserialize<'de> for MapAccessKey
impl<'de> Deserialize<'de> for MapAccessKey
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
source§impl Serialize for MapAccessKey
impl Serialize for MapAccessKey
source§impl Visit for MapAccessKey
impl Visit for MapAccessKey
source§impl VisitMut for MapAccessKey
impl VisitMut for MapAccessKey
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)