pub struct ComponentIdentity {
pub kind: ComponentKind,
pub name: NameId,
pub namespace: Option<NameId>,
}Expand description
Unique identity of a schema component (kind + QName).
Fields§
§kind: ComponentKind§name: NameId§namespace: Option<NameId>Trait Implementations§
Source§impl Clone for ComponentIdentity
impl Clone for ComponentIdentity
Source§fn clone(&self) -> ComponentIdentity
fn clone(&self) -> ComponentIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ComponentIdentity
Source§impl Debug for ComponentIdentity
impl Debug for ComponentIdentity
impl Eq for ComponentIdentity
Source§impl Hash for ComponentIdentity
impl Hash for ComponentIdentity
Source§impl PartialEq for ComponentIdentity
impl PartialEq for ComponentIdentity
Source§fn eq(&self, other: &ComponentIdentity) -> bool
fn eq(&self, other: &ComponentIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ComponentIdentity
Auto Trait Implementations§
impl Freeze for ComponentIdentity
impl RefUnwindSafe for ComponentIdentity
impl Send for ComponentIdentity
impl Sync for ComponentIdentity
impl Unpin for ComponentIdentity
impl UnsafeUnpin for ComponentIdentity
impl UnwindSafe for ComponentIdentity
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