pub struct InheritedAttributeValue {
pub value: String,
pub attribute_key: Option<AttributeKey>,
}Expand description
An inherited attribute value flowing from an ancestor element (XSD 1.1).
Stored in [ElementValidationState::inherited_attributes] and propagated
from parent to child on element open. See §3.3.5.6 Inherited Attributes.
Fields§
§value: StringThe attribute value (string form)
attribute_key: Option<AttributeKey>The governing attribute declaration key, if known
Trait Implementations§
Source§impl Clone for InheritedAttributeValue
impl Clone for InheritedAttributeValue
Source§fn clone(&self) -> InheritedAttributeValue
fn clone(&self) -> InheritedAttributeValue
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 InheritedAttributeValue
impl RefUnwindSafe for InheritedAttributeValue
impl Send for InheritedAttributeValue
impl Sync for InheritedAttributeValue
impl Unpin for InheritedAttributeValue
impl UnsafeUnpin for InheritedAttributeValue
impl UnwindSafe for InheritedAttributeValue
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