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 :
Trait Implementations§
impl<'a> StructuralPartialEq for StartEl<'a>
Auto Trait Implementations§
impl<'a> Freeze for StartEl<'a>
impl<'a> RefUnwindSafe for StartEl<'a>
impl<'a> Send for StartEl<'a>
impl<'a> Sync for StartEl<'a>
impl<'a> Unpin for StartEl<'a>
impl<'a> UnwindSafe for StartEl<'a>
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