pub struct GraphRelationSchema {
pub sources: BTreeSet<String>,
pub queried_by: BTreeSet<String>,
pub from: Option<String>,
pub to: Option<String>,
pub properties: Vec<PropertySchema>,
}Expand description
Aggregated relationship schema across one or more sources.
Fields§
§sources: BTreeSet<String>§queried_by: BTreeSet<String>§from: Option<String>§to: Option<String>§properties: Vec<PropertySchema>Trait Implementations§
Source§impl Clone for GraphRelationSchema
impl Clone for GraphRelationSchema
Source§fn clone(&self) -> GraphRelationSchema
fn clone(&self) -> GraphRelationSchema
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 GraphRelationSchema
impl Debug for GraphRelationSchema
Source§impl Default for GraphRelationSchema
impl Default for GraphRelationSchema
Source§fn default() -> GraphRelationSchema
fn default() -> GraphRelationSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphRelationSchema
impl<'de> Deserialize<'de> for GraphRelationSchema
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 GraphRelationSchema
impl PartialEq for GraphRelationSchema
Source§fn eq(&self, other: &GraphRelationSchema) -> bool
fn eq(&self, other: &GraphRelationSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GraphRelationSchema
impl Serialize for GraphRelationSchema
impl Eq for GraphRelationSchema
impl StructuralPartialEq for GraphRelationSchema
Auto Trait Implementations§
impl Freeze for GraphRelationSchema
impl RefUnwindSafe for GraphRelationSchema
impl Send for GraphRelationSchema
impl Sync for GraphRelationSchema
impl Unpin for GraphRelationSchema
impl UnsafeUnpin for GraphRelationSchema
impl UnwindSafe for GraphRelationSchema
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.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.