pub enum Type {
String(String),
Object(IndexMap<String, Value>),
}Expand description
String values are Substrait type expressions parsed by grammar/SubstraitType.g4.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Type
impl<'de> Deserialize<'de> for Type
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Type, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Type, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Intermediate> for Type
impl From<Intermediate> for Type
Source§fn from(value: Intermediate) -> Type
fn from(value: Intermediate) -> Type
Converts to this type from the input type.
Source§impl From<ReturnValue> for Type
impl From<ReturnValue> for Type
Source§fn from(value: ReturnValue) -> Type
fn from(value: ReturnValue) -> Type
Converts to this type from the input type.
Source§impl From<Type> for Intermediate
impl From<Type> for Intermediate
Source§fn from(value: Type) -> Intermediate
fn from(value: Type) -> Intermediate
Converts to this type from the input type.
Source§impl From<Type> for ReturnValue
impl From<Type> for ReturnValue
Source§fn from(value: Type) -> ReturnValue
fn from(value: Type) -> ReturnValue
Converts to this type from the input type.
Source§impl Serialize for Type
impl Serialize for Type
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Forget for Type
impl Freeze for Typewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnsafeUnpin for Typewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for Type
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