pub enum RelationPathStepFragment {
EnterNamed {
type: TypeSourceKey,
},
OptionalSome,
RecordMember {
record: TypeSourceKey,
field: FieldSourceKey,
},
EnumVariantPayload {
enum: TypeSourceKey,
variant: TypeSourceKey,
},
ListItems,
SetItems,
MapValues,
}Expand description
One deterministic step below an entity-root relation field.
Variants§
EnterNamed
Enter one accepted named record, enum, or transparent newtype.
Fields
§
type: TypeSourceKeyOptionalSome
Continue through a present optional value; NULL means no target.
RecordMember
Select one accepted member of an accepted record.
Fields
§
record: TypeSourceKeyRecord declaration containing the member.
§
field: FieldSourceKeyStable proposal key for the member.
EnumVariantPayload
Select one payload-bearing accepted enum variant.
Fields
§
enum: TypeSourceKeyEnum declaration containing the variant.
§
variant: TypeSourceKeyStable proposal key for the variant.
ListItems
Traverse every item of an accepted ordered collection.
SetItems
Traverse every item of an accepted unique collection.
MapValues
Traverse every value of an accepted map in canonical key order.
Trait Implementations§
Source§impl Clone for RelationPathStepFragment
impl Clone for RelationPathStepFragment
Source§fn clone(&self) -> RelationPathStepFragment
fn clone(&self) -> RelationPathStepFragment
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 RelationPathStepFragment
impl Debug for RelationPathStepFragment
impl Eq for RelationPathStepFragment
Source§impl PartialEq for RelationPathStepFragment
impl PartialEq for RelationPathStepFragment
impl StructuralPartialEq for RelationPathStepFragment
Auto Trait Implementations§
impl Freeze for RelationPathStepFragment
impl RefUnwindSafe for RelationPathStepFragment
impl Send for RelationPathStepFragment
impl Sync for RelationPathStepFragment
impl Unpin for RelationPathStepFragment
impl UnsafeUnpin for RelationPathStepFragment
impl UnwindSafe for RelationPathStepFragment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.