pub struct AppRestrictionsSchemaRestrictionRestrictionValue {
pub type_: Option<String>,
pub value_bool: Option<bool>,
pub value_integer: Option<i32>,
pub value_multiselect: Option<Vec<String>>,
pub value_string: Option<String>,
}Expand description
A typed value for the restriction.
This type is not used in any activity, and only used as part of another schema.
Fields§
§type_: Option<String>The type of the value being provided.
value_bool: Option<bool>The boolean value - this will only be present if type is bool.
value_integer: Option<i32>The integer value - this will only be present if type is integer.
value_multiselect: Option<Vec<String>>The list of string values - this will only be present if type is multiselect.
value_string: Option<String>The string value - this will be present for types string, choice and hidden.
Trait Implementations§
Source§impl Clone for AppRestrictionsSchemaRestrictionRestrictionValue
impl Clone for AppRestrictionsSchemaRestrictionRestrictionValue
Source§fn clone(&self) -> AppRestrictionsSchemaRestrictionRestrictionValue
fn clone(&self) -> AppRestrictionsSchemaRestrictionRestrictionValue
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 AppRestrictionsSchemaRestrictionRestrictionValue
impl Default for AppRestrictionsSchemaRestrictionRestrictionValue
Source§fn default() -> AppRestrictionsSchemaRestrictionRestrictionValue
fn default() -> AppRestrictionsSchemaRestrictionRestrictionValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppRestrictionsSchemaRestrictionRestrictionValue
impl<'de> Deserialize<'de> for AppRestrictionsSchemaRestrictionRestrictionValue
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
impl Part for AppRestrictionsSchemaRestrictionRestrictionValue
Auto Trait Implementations§
impl Freeze for AppRestrictionsSchemaRestrictionRestrictionValue
impl RefUnwindSafe for AppRestrictionsSchemaRestrictionRestrictionValue
impl Send for AppRestrictionsSchemaRestrictionRestrictionValue
impl Sync for AppRestrictionsSchemaRestrictionRestrictionValue
impl Unpin for AppRestrictionsSchemaRestrictionRestrictionValue
impl UnwindSafe for AppRestrictionsSchemaRestrictionRestrictionValue
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