pub struct AttributeInstanceComponent {
pub attribute: String,
pub attribute_value: Option<String>,
}Expand description
A generic key–value attribute (used for query parameters in status requests).
Fields§
§attribute: StringAttribute name.
attribute_value: Option<String>Attribute value.
Trait Implementations§
Source§impl Clone for AttributeInstanceComponent
impl Clone for AttributeInstanceComponent
Source§fn clone(&self) -> AttributeInstanceComponent
fn clone(&self) -> AttributeInstanceComponent
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 AttributeInstanceComponent
impl Debug for AttributeInstanceComponent
Source§impl<'de> Deserialize<'de> for AttributeInstanceComponent
impl<'de> Deserialize<'de> for AttributeInstanceComponent
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 AttributeInstanceComponent
impl PartialEq for AttributeInstanceComponent
Source§fn eq(&self, other: &AttributeInstanceComponent) -> bool
fn eq(&self, other: &AttributeInstanceComponent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttributeInstanceComponent
Auto Trait Implementations§
impl Freeze for AttributeInstanceComponent
impl RefUnwindSafe for AttributeInstanceComponent
impl Send for AttributeInstanceComponent
impl Sync for AttributeInstanceComponent
impl Unpin for AttributeInstanceComponent
impl UnsafeUnpin for AttributeInstanceComponent
impl UnwindSafe for AttributeInstanceComponent
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