pub struct Relationship {
pub source_ref: Id,
pub target_ref: Id,
pub relationship_type: RelationshipType,
/* private fields */
}Fields§
§source_ref: Id§target_ref: Id§relationship_type: RelationshipTypeTrait Implementations§
Source§impl AsRef<CommonProperties> for Relationship
impl AsRef<CommonProperties> for Relationship
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<'a> AsRef<Relationship> for Node<'a, Relationship>
impl<'a> AsRef<Relationship> for Node<'a, Relationship>
Source§fn as_ref(&self) -> &Relationship
fn as_ref(&self) -> &Relationship
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<'de> Deserialize<'de> for Relationship
impl<'de> Deserialize<'de> for Relationship
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<'a> FromIterator<&'a Relationship> for RelationshipGraph<'a>
impl<'a> FromIterator<&'a Relationship> for RelationshipGraph<'a>
Source§fn from_iter<T: IntoIterator<Item = &'a Relationship>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = &'a Relationship>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl TypedObject for Relationship
impl TypedObject for Relationship
Auto Trait Implementations§
impl Freeze for Relationship
impl RefUnwindSafe for Relationship
impl Send for Relationship
impl Sync for Relationship
impl Unpin for Relationship
impl UnwindSafe for Relationship
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