pub enum PullAttributeSpec {
Wildcard,
Attribute(NamedPullAttribute),
Nested(NamedPullAttribute, Vec<PullAttributeSpec>),
}Variants§
Wildcard
Attribute(NamedPullAttribute)
Nested(NamedPullAttribute, Vec<PullAttributeSpec>)
A map spec, {:person/friend [:person/name]} (or reverse,
{:person/_friend [...]}): follow the ref attribute and pull the
sub-pattern on each entity it reaches.
Trait Implementations§
Source§impl Clone for PullAttributeSpec
impl Clone for PullAttributeSpec
Source§impl Debug for PullAttributeSpec
impl Debug for PullAttributeSpec
Source§impl Display for PullAttributeSpec
impl Display for PullAttributeSpec
impl Eq for PullAttributeSpec
Source§impl PartialEq for PullAttributeSpec
impl PartialEq for PullAttributeSpec
impl StructuralPartialEq for PullAttributeSpec
Auto Trait Implementations§
impl !Send for PullAttributeSpec
impl !Sync for PullAttributeSpec
impl Freeze for PullAttributeSpec
impl RefUnwindSafe for PullAttributeSpec
impl Unpin for PullAttributeSpec
impl UnsafeUnpin for PullAttributeSpec
impl UnwindSafe for PullAttributeSpec
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more