pub struct PutOrgsCreateOrUpdateCustomProperty {
pub value_type: Option<String>,
pub required: Option<bool>,
pub default_value: Option<OneOfcustomPropertySetPayloadDefaultValue>,
pub description: Option<String>,
pub allowed_values: Option<Vec<String>>,
pub values_editable_by: Option<String>,
}Expand description
Custom property set payload
Fields§
§value_type: Option<String>The type of the value for the property
required: Option<bool>Whether the property is required.
default_value: Option<OneOfcustomPropertySetPayloadDefaultValue>Default value of the property
description: Option<String>Short description of the property
allowed_values: Option<Vec<String>>An ordered list of the allowed values of the property. The property can have up to 200 allowed values.
values_editable_by: Option<String>Who can edit the values of the property
Trait Implementations§
Source§impl Clone for PutOrgsCreateOrUpdateCustomProperty
impl Clone for PutOrgsCreateOrUpdateCustomProperty
Source§fn clone(&self) -> PutOrgsCreateOrUpdateCustomProperty
fn clone(&self) -> PutOrgsCreateOrUpdateCustomProperty
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 PutOrgsCreateOrUpdateCustomProperty
impl Default for PutOrgsCreateOrUpdateCustomProperty
Source§fn default() -> PutOrgsCreateOrUpdateCustomProperty
fn default() -> PutOrgsCreateOrUpdateCustomProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PutOrgsCreateOrUpdateCustomProperty
impl<'de> Deserialize<'de> for PutOrgsCreateOrUpdateCustomProperty
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 PutOrgsCreateOrUpdateCustomProperty
impl PartialEq for PutOrgsCreateOrUpdateCustomProperty
Source§fn eq(&self, other: &PutOrgsCreateOrUpdateCustomProperty) -> bool
fn eq(&self, other: &PutOrgsCreateOrUpdateCustomProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PutOrgsCreateOrUpdateCustomProperty
Auto Trait Implementations§
impl Freeze for PutOrgsCreateOrUpdateCustomProperty
impl RefUnwindSafe for PutOrgsCreateOrUpdateCustomProperty
impl Send for PutOrgsCreateOrUpdateCustomProperty
impl Sync for PutOrgsCreateOrUpdateCustomProperty
impl Unpin for PutOrgsCreateOrUpdateCustomProperty
impl UnwindSafe for PutOrgsCreateOrUpdateCustomProperty
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