pub struct Attribute<'a> {
pub namespace: Option<Namespace<'a>>,
pub name: &'a str,
pub matcher: Option<Matcher>,
pub value: Option<&'a str>,
}
Fields§
§namespace: Option<Namespace<'a>>
§name: &'a str
§matcher: Option<Matcher>
§value: Option<&'a str>
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Attribute<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Attribute<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<'a> Node<'a> for Attribute<'a>
Auto Trait Implementations§
impl<'a> Freeze for Attribute<'a>
impl<'a> RefUnwindSafe for Attribute<'a>
impl<'a> Send for Attribute<'a>
impl<'a> Sync for Attribute<'a>
impl<'a> Unpin for Attribute<'a>
impl<'a> UnwindSafe for Attribute<'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