xsd_types/value/string/
mod.rs1use crate::{Datatype, ParseXsd, XsdValue};
2
3mod id;
4mod idref;
5mod language;
6mod name;
7mod ncname;
8mod nmtoken;
9mod normalized;
10mod token;
11
12pub use id::*;
13pub use idref::*;
14pub use language::*;
15pub use name::*;
16pub use ncname::*;
17pub use nmtoken::*;
18pub use normalized::*;
19pub use token::*;
20
21pub type String = std::string::String;
22
23impl XsdValue for String {
24 fn datatype(&self) -> Datatype {
25 Datatype::String(crate::StringDatatype::String)
26 }
27}
28
29impl ParseXsd for String {
30 type LexicalForm = str;
31}