pub struct AppInfoElement {
pub source: Option<String>,
pub attributes: Vec<ForeignAttribute>,
pub namespaces: NamespaceContextSnapshot,
pub content: XmlFragment,
pub source_ref: Option<SourceRef>,
}Expand description
xs:appinfo element
Contains machine-readable information.
Fields§
§source: Option<String>Source URI attribute
attributes: Vec<ForeignAttribute>Foreign attributes on the appinfo element
namespaces: NamespaceContextSnapshotNamespace bindings in scope when this was parsed
content: XmlFragmentRaw XML content (not parsed)
source_ref: Option<SourceRef>Source location
Implementations§
Source§impl AppInfoElement
impl AppInfoElement
Sourcepub fn new(content: XmlFragment, namespaces: NamespaceContextSnapshot) -> Self
pub fn new(content: XmlFragment, namespaces: NamespaceContextSnapshot) -> Self
Create a new appinfo element
Trait Implementations§
Source§impl Clone for AppInfoElement
impl Clone for AppInfoElement
Source§fn clone(&self) -> AppInfoElement
fn clone(&self) -> AppInfoElement
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 AppInfoElement
impl RefUnwindSafe for AppInfoElement
impl Send for AppInfoElement
impl Sync for AppInfoElement
impl Unpin for AppInfoElement
impl UnsafeUnpin for AppInfoElement
impl UnwindSafe for AppInfoElement
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