pub struct EdgeTypeDef {
pub description: Option<String>,
pub source_types: Vec<String>,
pub target_types: Vec<String>,
pub properties: BTreeMap<String, PropertyDef>,
}Expand description
Definition of an edge type in the ontology.
Fields§
§description: Option<String>§source_types: Vec<String>Which node types can be the source of this edge.
target_types: Vec<String>Which node types can be the target of this edge.
properties: BTreeMap<String, PropertyDef>Trait Implementations§
Source§impl Clone for EdgeTypeDef
impl Clone for EdgeTypeDef
Source§fn clone(&self) -> EdgeTypeDef
fn clone(&self) -> EdgeTypeDef
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 EdgeTypeDef
impl Debug for EdgeTypeDef
Source§impl<'de> Deserialize<'de> for EdgeTypeDef
impl<'de> Deserialize<'de> for EdgeTypeDef
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 EdgeTypeDef
impl PartialEq for EdgeTypeDef
Source§impl Serialize for EdgeTypeDef
impl Serialize for EdgeTypeDef
impl StructuralPartialEq for EdgeTypeDef
Auto Trait Implementations§
impl Freeze for EdgeTypeDef
impl RefUnwindSafe for EdgeTypeDef
impl Send for EdgeTypeDef
impl Sync for EdgeTypeDef
impl Unpin for EdgeTypeDef
impl UnsafeUnpin for EdgeTypeDef
impl UnwindSafe for EdgeTypeDef
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