pub struct CustomAttribute {
pub key: String,
pub value: Option<Value>,
pub version: Option<i32>,
pub visibility: Option<CustomAttributeDefinitionVisibility>,
pub definition: Option<CustomAttributeDefinition>,
pub updated_at: Option<DateTime>,
pub created_at: Option<DateTime>,
}Expand description
Represents a custom attribute value.
Each custom attribute value has a corresponding CustomAttributeDefinition object.
Fields§
§key: StringThe identifier of the custom attribute definition and its corresponding custom attributes.
This value can be a simple key or a qualified key. The qualified key consists of the application ID
of the custom attribute definition owner followed by the simple key.
Example format: application_id:simple_key.
The value for a simple key can contain up to 60 alphanumeric characters, periods (.), underscores (_),
and hyphens (-).
value: Option<Value>The value assigned to the custom attribute. It is validated against the custom attribute definition’s schema on write operations.
version: Option<i32>Read only. The current version of the custom attribute. This field is incremented when the custom attribute is changed. When updating an existing custom attribute value, you can provide this field and specify the current version of the custom attribute to enable optimistic concurrency.
visibility: Option<CustomAttributeDefinitionVisibility>Read only. A copy of the visibility field value for the associated custom attribute definition.
definition: Option<CustomAttributeDefinition>Read only. A copy of the associated custom attribute definition object. This field is only set when the optional field is specified on the request.
updated_at: Option<DateTime>Read only. The timestamp that indicates when the custom attribute was created or most recently updated, in RFC 3339 format.
created_at: Option<DateTime>Read only. The timestamp that indicates when the custom attribute was created, in RFC 3339 format.
Trait Implementations§
Source§impl Clone for CustomAttribute
impl Clone for CustomAttribute
Source§fn clone(&self) -> CustomAttribute
fn clone(&self) -> CustomAttribute
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more