Struct aws_smithy_xml::decode::StartEl
source · pub struct StartEl<'a> { /* private fields */ }
Implementations§
source§impl<'a> StartEl<'a>
impl<'a> StartEl<'a>
Xml Start Element
<a:b c="d">
^^^ ^^^^^
name attributes
pub fn depth(&self) -> Depth
sourcepub fn attr<'b>(&'b self, key: &'b str) -> Option<&'b str>
pub fn attr<'b>(&'b self, key: &'b str) -> Option<&'b str>
Retrieve an attribute with a given key
key prefix:local
combined as a str, joined by a :