pub enum BodySelection {
Unresolved,
Bodies(Vec<BodyId>),
Resolved {
bodies: Vec<BodyId>,
native: String,
},
Historical {
state: FeatureInputTopologyId,
bodies: Vec<HistoricalBodyId>,
native: String,
},
Generated {
bodies: Vec<GeneratedBodyRef>,
native: String,
},
Local {
bodies: Vec<String>,
native: String,
},
Native(String),
}Expand description
Body operands resolved by the decoder or retained in native form.
Variants§
Unresolved
Selection exists semantically but its operands are not resolved.
Bodies(Vec<BodyId>)
Resolved topological bodies.
Resolved
Resolved bodies paired with the format-native selection required for rewrite.
Fields
Historical
Bodies resolved in the containing feature’s input topology.
Fields
§
state: FeatureInputTopologyIdInput topology containing every selected body.
§
bodies: Vec<HistoricalBodyId>State-local body identities in operand order.
Generated
Bodies in intermediate regenerated feature results, paired with the format-native selection required for rewrite.
Fields
§
bodies: Vec<GeneratedBodyRef>Feature-local body identities.
Local
Persistent bodies in the consuming feature’s regeneration input state.
Fields
Native(String)
Format-native selection expression.
Trait Implementations§
Source§impl Clone for BodySelection
impl Clone for BodySelection
Source§fn clone(&self) -> BodySelection
fn clone(&self) -> BodySelection
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 BodySelection
impl Debug for BodySelection
Source§impl<'de> Deserialize<'de> for BodySelection
impl<'de> Deserialize<'de> for BodySelection
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 JsonSchema for BodySelection
impl JsonSchema for BodySelection
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for BodySelection
impl PartialEq for BodySelection
Source§impl Serialize for BodySelection
impl Serialize for BodySelection
impl StructuralPartialEq for BodySelection
Auto Trait Implementations§
impl Freeze for BodySelection
impl RefUnwindSafe for BodySelection
impl Send for BodySelection
impl Sync for BodySelection
impl Unpin for BodySelection
impl UnsafeUnpin for BodySelection
impl UnwindSafe for BodySelection
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