pub struct GraphRelation {
pub source: String,
pub relationship: String,
pub destination: String,
}Expand description
A graph relation (subject-predicate-object triple).
Fields§
§source: String§relationship: String§destination: StringTrait Implementations§
Source§impl Clone for GraphRelation
impl Clone for GraphRelation
Source§fn clone(&self) -> GraphRelation
fn clone(&self) -> GraphRelation
Returns a duplicate of the value. Read more
1.0.0 · 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 GraphRelation
impl Debug for GraphRelation
Source§impl<'de> Deserialize<'de> for GraphRelation
impl<'de> Deserialize<'de> for GraphRelation
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
Auto Trait Implementations§
impl Freeze for GraphRelation
impl RefUnwindSafe for GraphRelation
impl Send for GraphRelation
impl Sync for GraphRelation
impl Unpin for GraphRelation
impl UnsafeUnpin for GraphRelation
impl UnwindSafe for GraphRelation
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