pub struct IdentityRefResult {
pub kind: IdentityKind,
pub ref_name: QNameRef,
pub id: Option<String>,
pub annotation: Option<Annotation>,
pub source: Option<SourceRef>,
}Expand description
Identity constraint reference result (XSD 1.1 @ref on unique/key/keyref)
Per §3.11.2: when @ref is present, the element does not define a new component — it IS the referenced component.
Fields§
§kind: IdentityKind§ref_name: QNameRef§id: Option<String>§annotation: Option<Annotation>§source: Option<SourceRef>Trait Implementations§
Source§impl Clone for IdentityRefResult
impl Clone for IdentityRefResult
Source§fn clone(&self) -> IdentityRefResult
fn clone(&self) -> IdentityRefResult
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 moreAuto Trait Implementations§
impl Freeze for IdentityRefResult
impl RefUnwindSafe for IdentityRefResult
impl Send for IdentityRefResult
impl Sync for IdentityRefResult
impl Unpin for IdentityRefResult
impl UnsafeUnpin for IdentityRefResult
impl UnwindSafe for IdentityRefResult
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