pub struct CustomPropertySetPayload {
pub allowed_values: Option<Vec<String>>,
pub default_value: Option<String>,
pub description: Option<String>,
pub require_explicit_values: Option<bool>,
pub required: Option<bool>,
pub value_type: String,
pub values_editable_by: Option<String>,
}Fields§
§allowed_values: Option<Vec<String>>§default_value: Option<String>§description: Option<String>§require_explicit_values: Option<bool>§required: Option<bool>§value_type: String§values_editable_by: Option<String>Trait Implementations§
Source§impl Clone for CustomPropertySetPayload
impl Clone for CustomPropertySetPayload
Source§fn clone(&self) -> CustomPropertySetPayload
fn clone(&self) -> CustomPropertySetPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CustomPropertySetPayload
impl Debug for CustomPropertySetPayload
Source§impl Default for CustomPropertySetPayload
impl Default for CustomPropertySetPayload
Source§fn default() -> CustomPropertySetPayload
fn default() -> CustomPropertySetPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomPropertySetPayload
impl<'de> Deserialize<'de> for CustomPropertySetPayload
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 CustomPropertySetPayload
impl PartialEq for CustomPropertySetPayload
Source§fn eq(&self, other: &CustomPropertySetPayload) -> bool
fn eq(&self, other: &CustomPropertySetPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CustomPropertySetPayload
impl Serialize for CustomPropertySetPayload
impl StructuralPartialEq for CustomPropertySetPayload
Auto Trait Implementations§
impl Freeze for CustomPropertySetPayload
impl RefUnwindSafe for CustomPropertySetPayload
impl Send for CustomPropertySetPayload
impl Sync for CustomPropertySetPayload
impl Unpin for CustomPropertySetPayload
impl UnsafeUnpin for CustomPropertySetPayload
impl UnwindSafe for CustomPropertySetPayload
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