pub struct AttributeMappings {
pub element_attributes: HashMap<String, HashMap<String, String>>,
}
Expand description
Custom attribute mappings for HTML elements
Fields§
§element_attributes: HashMap<String, HashMap<String, String>>
Mapping of element names to their attributes
Trait Implementations§
Source§impl Clone for AttributeMappings
impl Clone for AttributeMappings
Source§fn clone(&self) -> AttributeMappings
fn clone(&self) -> AttributeMappings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AttributeMappings
impl Debug for AttributeMappings
Source§impl<'de> Deserialize<'de> for AttributeMappings
impl<'de> Deserialize<'de> for AttributeMappings
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
Auto Trait Implementations§
impl Freeze for AttributeMappings
impl RefUnwindSafe for AttributeMappings
impl Send for AttributeMappings
impl Sync for AttributeMappings
impl Unpin for AttributeMappings
impl UnwindSafe for AttributeMappings
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