Struct rdftk_core::model::qname::QName [−][src]
pub struct QName { /* fields omitted */ }
Expand description
QNames are valid identifiers with an optional prefix identifier. e.g. “xsd:integer
”,
“rdfs:Class
”, “:subPropertyOf
”.
Implementations
Construct a new unqualified QName: “:{name}
”. This will return an error if either
the name is empty or is an invalid QName part.
Construct a new QName without any validation checks on the given values.
Construct a new qualified QName: “{prefix}:{name}
”. This will return an error if either
the prefix or name is empty or is an invalid QName part.
Returns true
if this QName has a prefix, else false
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for QName
impl UnwindSafe for QName
Blanket Implementations
Mutably borrows from an owned value. Read more