#[non_exhaustive]pub struct CustomAttributeConfigResourceAttributes {
    pub case_type_id: String,
    pub description: Option<String>,
    pub display_name: String,
    pub is_multi: bool,
    pub key: String,
    pub type_: CustomAttributeType,
    pub additional_properties: BTreeMap<String, Value>,
    /* private fields */
}Expand description
Custom attribute resource attributes
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.case_type_id: StringCustom attribute config identifier.
description: Option<String>Custom attribute description.
display_name: StringCustom attribute name.
is_multi: boolWhether multiple values can be set
key: StringCustom attribute key. This will be the value use to search on this custom attribute
type_: CustomAttributeTypeCustom attributes type
additional_properties: BTreeMap<String, Value>Implementations§
Source§impl CustomAttributeConfigResourceAttributes
 
impl CustomAttributeConfigResourceAttributes
pub fn new( case_type_id: String, display_name: String, is_multi: bool, key: String, type_: CustomAttributeType, ) -> CustomAttributeConfigResourceAttributes
pub fn description(self, value: String) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for CustomAttributeConfigResourceAttributes
 
impl Clone for CustomAttributeConfigResourceAttributes
Source§fn clone(&self) -> CustomAttributeConfigResourceAttributes
 
fn clone(&self) -> CustomAttributeConfigResourceAttributes
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<'de> Deserialize<'de> for CustomAttributeConfigResourceAttributes
 
impl<'de> Deserialize<'de> for CustomAttributeConfigResourceAttributes
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 CustomAttributeConfigResourceAttributes
 
impl PartialEq for CustomAttributeConfigResourceAttributes
Source§fn eq(&self, other: &CustomAttributeConfigResourceAttributes) -> bool
 
fn eq(&self, other: &CustomAttributeConfigResourceAttributes) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CustomAttributeConfigResourceAttributes
Auto Trait Implementations§
impl Freeze for CustomAttributeConfigResourceAttributes
impl RefUnwindSafe for CustomAttributeConfigResourceAttributes
impl Send for CustomAttributeConfigResourceAttributes
impl Sync for CustomAttributeConfigResourceAttributes
impl Unpin for CustomAttributeConfigResourceAttributes
impl UnwindSafe for CustomAttributeConfigResourceAttributes
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