pub struct RelationV1 {
pub from: String,
pub to: String,
pub kind: String,
}Expand description
A typed edge between two facts.
Fields§
§from: String§to: String§kind: StringTrait Implementations§
Source§impl Clone for RelationV1
impl Clone for RelationV1
Source§impl Debug for RelationV1
impl Debug for RelationV1
Source§impl<'de> Deserialize<'de> for RelationV1
impl<'de> Deserialize<'de> for RelationV1
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
impl Eq for RelationV1
Source§impl Hash for RelationV1
impl Hash for RelationV1
Source§impl Ord for RelationV1
impl Ord for RelationV1
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RelationV1
impl PartialEq for RelationV1
Source§impl PartialOrd for RelationV1
impl PartialOrd for RelationV1
Source§impl Serialize for RelationV1
impl Serialize for RelationV1
impl StructuralPartialEq for RelationV1
Auto Trait Implementations§
impl Forget for RelationV1
impl Freeze for RelationV1
impl Move for RelationV1
impl RefUnwindSafe for RelationV1
impl Send for RelationV1
impl Sync for RelationV1
impl Unpin for RelationV1
impl UnsafeUnpin for RelationV1
impl UnwindSafe for RelationV1
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