[][src]Struct fastobo_graphs::model::Graph

pub struct Graph {
    pub nodes: Vec<Node>,
    pub edges: Vec<Edge>,
    pub id: String,
    pub label: Option<String>,
    pub meta: 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: Stringlabel: Option<String>meta: Box<Meta>equivalent_nodes_sets: Vec<EquivalentNodesSet>logical_definition_axioms: Vec<LogicalDefinitionAxiom>domain_range_axioms: Vec<DomainRangeAxiom>property_chain_axioms: Vec<PropertyChainAxiom>

Methods

impl Graph[src]

pub fn extend(&mut self, other: Self)[src]

Trait Implementations

impl FromGraph<Graph> for OboDoc[src]

impl Clone for Graph[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Graph> for Graph[src]

impl From<Graph> for GraphDocument[src]

impl Eq for Graph[src]

impl Debug for Graph[src]

impl FromIterator<Graph> for GraphDocument[src]

impl Serialize for Graph[src]

impl<'de> Deserialize<'de> for Graph[src]

Auto Trait Implementations

impl Sync for Graph

impl Unpin for Graph

impl Send for Graph

impl UnwindSafe for Graph

impl RefUnwindSafe for Graph

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]