pub enum ProjectionNode {
Show 15 variants
Identity,
DynamicChecked,
Record {
fields: Vec<RecordFieldProjection>,
discard: Vec<usize>,
},
Tuple {
elements: Vec<usize>,
},
List {
item: usize,
},
FixedList {
item: usize,
length: u32,
},
Map {
key: usize,
value: usize,
},
Option {
some: usize,
},
Result {
ok: Option<usize>,
err: Option<usize>,
},
Variant {
cases: Vec<CaseProjection>,
},
Enum {
cases: Vec<usize>,
},
Flags {
flags: Vec<usize>,
},
Union {
branches: Vec<CaseProjection>,
},
Stream {
item: Option<usize>,
},
Recursive {
node: usize,
},
}Variants§
Identity
DynamicChecked
Record
Tuple
List
FixedList
Map
Option
Result
Variant
Fields
§
cases: Vec<CaseProjection>Enum
Flags
Union
Fields
§
branches: Vec<CaseProjection>Stream
Recursive
Trait Implementations§
Source§impl Clone for ProjectionNode
impl Clone for ProjectionNode
Source§impl Debug for ProjectionNode
impl Debug for ProjectionNode
Source§impl<'de> Deserialize<'de> for ProjectionNode
impl<'de> Deserialize<'de> for ProjectionNode
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 FromSchema for ProjectionNode
impl FromSchema for ProjectionNode
fn from_value(value: &SchemaValue) -> Result<Self, FromSchemaError>
Source§impl IntoSchema for ProjectionNode
impl IntoSchema for ProjectionNode
fn type_id() -> TypeId
fn register_in(builder: &mut SchemaBuilder) -> SchemaType
fn to_value(&self) -> SchemaValue
Source§impl PartialEq for ProjectionNode
impl PartialEq for ProjectionNode
Source§impl Serialize for ProjectionNode
impl Serialize for ProjectionNode
impl StructuralPartialEq for ProjectionNode
Auto Trait Implementations§
impl Freeze for ProjectionNode
impl RefUnwindSafe for ProjectionNode
impl Send for ProjectionNode
impl Sync for ProjectionNode
impl Unpin for ProjectionNode
impl UnsafeUnpin for ProjectionNode
impl UnwindSafe for ProjectionNode
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