pub struct IdentTriple {
pub ns: Option<NamespaceIdent>,
pub name: String,
pub type_: IdentType,
}
Expand description
Identifier that is used inside the config.
Each element in a XML schema is uniquely identified by the following three values: - The namespace of the element (or no namespace at all). - The name of the element. - The type of element.
This struct is used to bundle these three information to a unique identifier for an element.
Fields§
§ns: Option<NamespaceIdent>
Namespace where the type is defined in.
name: String
Name of the type.
type_: IdentType
Type of the identifier (because pure names are not unique in XSD).
Implementations§
Source§impl IdentTriple
impl IdentTriple
Trait Implementations§
Source§impl Clone for IdentTriple
impl Clone for IdentTriple
Source§fn clone(&self) -> IdentTriple
fn clone(&self) -> IdentTriple
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IdentTriple
impl Debug for IdentTriple
Source§impl<N, X> From<(IdentType, N, X)> for IdentTriple
impl<N, X> From<(IdentType, N, X)> for IdentTriple
Auto Trait Implementations§
impl Freeze for IdentTriple
impl RefUnwindSafe for IdentTriple
impl Send for IdentTriple
impl Sync for IdentTriple
impl Unpin for IdentTriple
impl UnwindSafe for IdentTriple
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more