Skip to content

Commit 8984fd8

Browse files
committed
Derive Facet for AnnotationComponentType
1 parent bfa440c commit 8984fd8

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

graphannis/src/annis/db/aql/model.rs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use crate::{
33
errors::GraphAnnisError,
44
graph::{Edge, EdgeContainer, GraphStorage, NodeID},
55
};
6+
use facet::Facet;
67
use graphannis_core::{
78
annostorage::ValueSearch,
89
dfs::CycleSafeDFS,
@@ -44,7 +45,18 @@ lazy_static! {
4445

4546
/// Specifies the type of component of the annotation graph. The types of this enum carray certain semantics about the edges of the graph components their are used in.
4647
#[derive(
47-
Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord, Hash, Clone, Debug, EnumIter, EnumString,
48+
Facet,
49+
Serialize,
50+
Deserialize,
51+
Eq,
52+
PartialEq,
53+
PartialOrd,
54+
Ord,
55+
Hash,
56+
Clone,
57+
Debug,
58+
EnumIter,
59+
EnumString,
4860
)]
4961
#[repr(C)]
5062
pub enum AnnotationComponentType {

0 commit comments

Comments
 (0)