pub struct InheritedAttribute {
pub local_name: NameId,
pub namespace: Option<NameId>,
pub attribute_key: Option<AttributeKey>,
pub value: String,
}Expand description
An inherited attribute from an ancestor element (XSD 1.1 §3.3.5.6).
Represents an entry in the PSVI [inherited attributes] property.
Fields§
§local_name: NameIdLocal name of the attribute
namespace: Option<NameId>Namespace of the attribute
attribute_key: Option<AttributeKey>The governing attribute declaration key, if known
value: StringThe inherited attribute value
Trait Implementations§
Source§impl Clone for InheritedAttribute
impl Clone for InheritedAttribute
Source§fn clone(&self) -> InheritedAttribute
fn clone(&self) -> InheritedAttribute
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 InheritedAttribute
impl RefUnwindSafe for InheritedAttribute
impl Send for InheritedAttribute
impl Sync for InheritedAttribute
impl Unpin for InheritedAttribute
impl UnsafeUnpin for InheritedAttribute
impl UnwindSafe for InheritedAttribute
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