pub struct GetAttributesAttributesInnerEnumerationInner {
pub value: i64,
pub label: String,
}Fields§
§value: i64ID of Value of the "category" type attribute
label: StringLabel of the "category" type attribute
Implementations§
Source§impl GetAttributesAttributesInnerEnumerationInner
impl GetAttributesAttributesInnerEnumerationInner
pub fn new( value: i64, label: String, ) -> GetAttributesAttributesInnerEnumerationInner
Trait Implementations§
Source§impl Clone for GetAttributesAttributesInnerEnumerationInner
impl Clone for GetAttributesAttributesInnerEnumerationInner
Source§fn clone(&self) -> GetAttributesAttributesInnerEnumerationInner
fn clone(&self) -> GetAttributesAttributesInnerEnumerationInner
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 Default for GetAttributesAttributesInnerEnumerationInner
impl Default for GetAttributesAttributesInnerEnumerationInner
Source§fn default() -> GetAttributesAttributesInnerEnumerationInner
fn default() -> GetAttributesAttributesInnerEnumerationInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetAttributesAttributesInnerEnumerationInner
impl<'de> Deserialize<'de> for GetAttributesAttributesInnerEnumerationInner
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 GetAttributesAttributesInnerEnumerationInner
impl PartialEq for GetAttributesAttributesInnerEnumerationInner
Source§fn eq(&self, other: &GetAttributesAttributesInnerEnumerationInner) -> bool
fn eq(&self, other: &GetAttributesAttributesInnerEnumerationInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetAttributesAttributesInnerEnumerationInner
Auto Trait Implementations§
impl Freeze for GetAttributesAttributesInnerEnumerationInner
impl RefUnwindSafe for GetAttributesAttributesInnerEnumerationInner
impl Send for GetAttributesAttributesInnerEnumerationInner
impl Sync for GetAttributesAttributesInnerEnumerationInner
impl Unpin for GetAttributesAttributesInnerEnumerationInner
impl UnwindSafe for GetAttributesAttributesInnerEnumerationInner
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