pub enum RelationType {
Precedes,
Requires,
LocatedAt,
Uses,
SimilarTo,
IsA,
Produces,
Custom(String),
}Expand description
Relation type label.
Variants§
Precedes
Step A must precede step B in a plan.
Requires
Task requires this action/step.
LocatedAt
Object is located at a location.
Uses
Action uses an appliance.
SimilarTo
Entity A is similar to entity B.
IsA
Entity A is a sub-type of entity B.
Produces
Task produces/achieves a state.
Custom(String)
Custom relation.
Trait Implementations§
Source§impl Clone for RelationType
impl Clone for RelationType
Source§fn clone(&self) -> RelationType
fn clone(&self) -> RelationType
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 RelationType
impl Debug for RelationType
Source§impl<'de> Deserialize<'de> for RelationType
impl<'de> Deserialize<'de> for RelationType
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 Hash for RelationType
impl Hash for RelationType
Source§impl PartialEq for RelationType
impl PartialEq for RelationType
Source§impl Serialize for RelationType
impl Serialize for RelationType
impl Eq for RelationType
impl StructuralPartialEq for RelationType
Auto Trait Implementations§
impl Freeze for RelationType
impl RefUnwindSafe for RelationType
impl Send for RelationType
impl Sync for RelationType
impl Unpin for RelationType
impl UnsafeUnpin for RelationType
impl UnwindSafe for RelationType
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