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