pub struct GetAttributesAttributesInner {
pub name: String,
pub category: Category,
pub type: Option<RHashType>,
pub enumeration: Option<Vec<GetAttributesAttributesInnerEnumerationInner>>,
pub calculated_value: Option<String>,
}Fields§
§name: StringName of the attribute
category: CategoryCategory of the attribute
type: Option<RHashType>Type of the attribute
enumeration: Option<Vec<GetAttributesAttributesInnerEnumerationInner>>Parameter only available for "category" type attributes.
calculated_value: Option<String>Calculated value formula
Implementations§
Source§impl GetAttributesAttributesInner
impl GetAttributesAttributesInner
pub fn new(name: String, category: Category) -> GetAttributesAttributesInner
Trait Implementations§
Source§impl Clone for GetAttributesAttributesInner
impl Clone for GetAttributesAttributesInner
Source§fn clone(&self) -> GetAttributesAttributesInner
fn clone(&self) -> GetAttributesAttributesInner
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 GetAttributesAttributesInner
impl Debug for GetAttributesAttributesInner
Source§impl Default for GetAttributesAttributesInner
impl Default for GetAttributesAttributesInner
Source§fn default() -> GetAttributesAttributesInner
fn default() -> GetAttributesAttributesInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetAttributesAttributesInner
impl<'de> Deserialize<'de> for GetAttributesAttributesInner
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 GetAttributesAttributesInner
impl PartialEq for GetAttributesAttributesInner
Source§fn eq(&self, other: &GetAttributesAttributesInner) -> bool
fn eq(&self, other: &GetAttributesAttributesInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetAttributesAttributesInner
Auto Trait Implementations§
impl Freeze for GetAttributesAttributesInner
impl RefUnwindSafe for GetAttributesAttributesInner
impl Send for GetAttributesAttributesInner
impl Sync for GetAttributesAttributesInner
impl Unpin for GetAttributesAttributesInner
impl UnwindSafe for GetAttributesAttributesInner
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