pub struct Graph {
pub nodes: Vec<Node>,
pub edges: Vec<Edge>,
pub id: String,
pub label: Option<String>,
pub meta: Option<Box<Meta>>,
pub equivalent_nodes_sets: Vec<EquivalentNodesSet>,
pub logical_definition_axioms: Vec<LogicalDefinitionAxiom>,
pub domain_range_axioms: Vec<DomainRangeAxiom>,
pub property_chain_axioms: Vec<PropertyChainAxiom>,
}
Fields§
§nodes: Vec<Node>
§edges: Vec<Edge>
§id: String
§label: Option<String>
§meta: Option<Box<Meta>>
§equivalent_nodes_sets: Vec<EquivalentNodesSet>
§logical_definition_axioms: Vec<LogicalDefinitionAxiom>
§domain_range_axioms: Vec<DomainRangeAxiom>
§property_chain_axioms: Vec<PropertyChainAxiom>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Graph
impl<'de> Deserialize<'de> for Graph
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 From<Graph> for GraphDocument
impl From<Graph> for GraphDocument
Source§impl FromGraph<Graph> for OboDoc
impl FromGraph<Graph> for OboDoc
Source§fn from_graph(graph: Graph) -> Result<Self>
fn from_graph(graph: Graph) -> Result<Self>
Available on crate feature
obo
only.Source§impl FromIterator<Graph> for GraphDocument
impl FromIterator<Graph> for GraphDocument
impl Eq for Graph
impl StructuralPartialEq for Graph
Auto Trait Implementations§
impl Freeze for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnwindSafe for Graph
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.