pub struct NameValue {
pub name: String,
pub value: Value,
}Expand description
Represents an attribute name-value: name="value".
Fields§
§name: String§value: ValueTrait Implementations§
impl Eq for NameValue
Auto Trait Implementations§
impl !Send for NameValue
impl !Sync for NameValue
impl Freeze for NameValue
impl RefUnwindSafe for NameValue
impl Unpin for NameValue
impl UnsafeUnpin for NameValue
impl UnwindSafe for NameValue
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