pub struct RemoveAttributeParams {
pub node_id: Box<NodeId>,
pub name: String,
}Expand description
Removes attribute with given name from an element with given id. removeAttribute
Fields§
§node_id: Box<NodeId>Id of the element to remove attribute from.
name: StringName of the attribute to remove.
Implementations§
Trait Implementations§
Source§impl Clone for RemoveAttributeParams
impl Clone for RemoveAttributeParams
Source§fn clone(&self) -> RemoveAttributeParams
fn clone(&self) -> RemoveAttributeParams
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 RemoveAttributeParams
impl Debug for RemoveAttributeParams
Source§impl<'de> Deserialize<'de> for RemoveAttributeParams
impl<'de> Deserialize<'de> for RemoveAttributeParams
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
Source§impl PartialEq for RemoveAttributeParams
impl PartialEq for RemoveAttributeParams
Source§impl Serialize for RemoveAttributeParams
impl Serialize for RemoveAttributeParams
impl StructuralPartialEq for RemoveAttributeParams
Auto Trait Implementations§
impl Freeze for RemoveAttributeParams
impl RefUnwindSafe for RemoveAttributeParams
impl Send for RemoveAttributeParams
impl Sync for RemoveAttributeParams
impl Unpin for RemoveAttributeParams
impl UnsafeUnpin for RemoveAttributeParams
impl UnwindSafe for RemoveAttributeParams
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