datex-core 0.0.14

The DATEX Core Rust implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::{
    traits::structural_eq::StructuralEq, values::core_values::text::Text,
};

impl PartialEq for Text {
    fn eq(&self, other: &Self) -> bool {
        self.as_str() == other.as_str()
    }
}

impl Eq for Text {}

impl StructuralEq for Text {
    fn structural_eq(&self, other: &Self) -> bool {
        self.as_str() == other.as_str()
    }
}