pub struct AttributeSelector {
pub selector: String,
pub attribute: String,
}Expand description
Attribute extraction selector.
Fields§
§selector: StringCSS selector for the element.
attribute: StringAttribute name to extract.
Trait Implementations§
Source§impl Clone for AttributeSelector
impl Clone for AttributeSelector
Source§fn clone(&self) -> AttributeSelector
fn clone(&self) -> AttributeSelector
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 moreSource§impl Debug for AttributeSelector
impl Debug for AttributeSelector
Source§impl Default for AttributeSelector
impl Default for AttributeSelector
Source§fn default() -> AttributeSelector
fn default() -> AttributeSelector
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttributeSelector
impl<'de> Deserialize<'de> for AttributeSelector
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 AttributeSelector
impl RefUnwindSafe for AttributeSelector
impl Send for AttributeSelector
impl Sync for AttributeSelector
impl Unpin for AttributeSelector
impl UnsafeUnpin for AttributeSelector
impl UnwindSafe for AttributeSelector
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