pub struct RelationshipQuery {
pub root_entities: Vec<EntityRef>,
pub relationship_type: Option<String>,
pub direction: RelationshipDirection,
pub max_depth: Option<u8>,
pub limit: usize,
}Expand description
Query for relationship instances.
Fields§
§root_entities: Vec<EntityRef>§relationship_type: Option<String>§direction: RelationshipDirection§max_depth: Option<u8>§limit: usizeTrait Implementations§
Source§impl Clone for RelationshipQuery
impl Clone for RelationshipQuery
Source§fn clone(&self) -> RelationshipQuery
fn clone(&self) -> RelationshipQuery
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 RelationshipQuery
impl Debug for RelationshipQuery
Source§impl<'de> Deserialize<'de> for RelationshipQuery
impl<'de> Deserialize<'de> for RelationshipQuery
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 PartialEq for RelationshipQuery
impl PartialEq for RelationshipQuery
Source§fn eq(&self, other: &RelationshipQuery) -> bool
fn eq(&self, other: &RelationshipQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RelationshipQuery
impl Serialize for RelationshipQuery
impl Eq for RelationshipQuery
impl StructuralPartialEq for RelationshipQuery
Auto Trait Implementations§
impl Freeze for RelationshipQuery
impl RefUnwindSafe for RelationshipQuery
impl Send for RelationshipQuery
impl Sync for RelationshipQuery
impl Unpin for RelationshipQuery
impl UnsafeUnpin for RelationshipQuery
impl UnwindSafe for RelationshipQuery
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