pub struct RelSpec {
pub types: Vec<SmolStr>,
pub direction: Direction,
pub length: RelLength,
pub properties: Option<Expr>,
}Expand description
Specification for the relationship in an expand operator. Spec §12.1.
Fields§
§types: Vec<SmolStr>Allowed relationship types (empty = any type).
direction: DirectionTraversal direction.
length: RelLengthVariable-length qualifier.
properties: Option<Expr>Optional inline property predicate on the relationship.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RelSpec
impl<'de> Deserialize<'de> for RelSpec
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RelSpec
impl StructuralPartialEq for RelSpec
Auto Trait Implementations§
impl Freeze for RelSpec
impl RefUnwindSafe for RelSpec
impl Send for RelSpec
impl Sync for RelSpec
impl Unpin for RelSpec
impl UnsafeUnpin for RelSpec
impl UnwindSafe for RelSpec
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§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.