pub struct ToMap {
pub this: Box<Expression>,
}Expand description
ToMap - Materialize-style map constructor Can hold either:
- A SELECT subquery (MAP(SELECT ‘a’, 1))
- A struct with key=>value entries (MAP[‘a’ => 1, ‘b’ => 2])
Fields§
§this: Box<Expression>Either a Select subquery or a Struct containing PropertyEQ entries
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToMap
impl<'de> Deserialize<'de> for ToMap
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
impl StructuralPartialEq for ToMap
Auto Trait Implementations§
impl Freeze for ToMap
impl RefUnwindSafe for ToMap
impl Send for ToMap
impl Sync for ToMap
impl Unpin for ToMap
impl UnwindSafe for ToMap
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