pub struct MapConstructor {
pub keys: Vec<Expression>,
pub values: Vec<Expression>,
pub curly_brace_syntax: bool,
pub with_map_keyword: bool,
}Expand description
MAP constructor
Fields§
§keys: Vec<Expression>§values: Vec<Expression>§curly_brace_syntax: boolWhether curly brace syntax was used ({'a': 1}) vs MAP function (MAP(...))
with_map_keyword: boolWhether MAP keyword was present (MAP {'a': 1}) vs bare curly braces ({'a': 1})
Trait Implementations§
Source§impl Clone for MapConstructor
impl Clone for MapConstructor
Source§fn clone(&self) -> MapConstructor
fn clone(&self) -> MapConstructor
Returns a duplicate 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 MapConstructor
impl Debug for MapConstructor
Source§impl<'de> Deserialize<'de> for MapConstructor
impl<'de> Deserialize<'de> for MapConstructor
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 PartialEq for MapConstructor
impl PartialEq for MapConstructor
Source§impl Serialize for MapConstructor
impl Serialize for MapConstructor
impl StructuralPartialEq for MapConstructor
Auto Trait Implementations§
impl Freeze for MapConstructor
impl RefUnwindSafe for MapConstructor
impl Send for MapConstructor
impl Sync for MapConstructor
impl Unpin for MapConstructor
impl UnwindSafe for MapConstructor
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