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§fn clone(&self) -> ProjectionNode
fn clone(&self) -> ProjectionNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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<ProjectionNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProjectionNode, <__D as Deserializer<'de>>::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<ProjectionNode, 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
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 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