pub struct ConfigContextSchemaRequest {
pub id: Option<Uuid>,
pub owner_content_type: Option<Option<String>>,
pub name: String,
pub description: Option<String>,
pub data_schema: Option<Value>,
pub owner_object_id: Option<Option<Uuid>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
}Expand description
ConfigContextSchemaRequest : Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Fields§
§id: Option<Uuid>§owner_content_type: Option<Option<String>>§name: String§description: Option<String>§data_schema: Option<Value>A JSON Schema document which is used to validate a config context object.
owner_object_id: Option<Option<Uuid>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Trait Implementations§
Source§impl Clone for ConfigContextSchemaRequest
impl Clone for ConfigContextSchemaRequest
Source§fn clone(&self) -> ConfigContextSchemaRequest
fn clone(&self) -> ConfigContextSchemaRequest
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 Debug for ConfigContextSchemaRequest
impl Debug for ConfigContextSchemaRequest
Source§impl Default for ConfigContextSchemaRequest
impl Default for ConfigContextSchemaRequest
Source§fn default() -> ConfigContextSchemaRequest
fn default() -> ConfigContextSchemaRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigContextSchemaRequest
impl<'de> Deserialize<'de> for ConfigContextSchemaRequest
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 StructuralPartialEq for ConfigContextSchemaRequest
Auto Trait Implementations§
impl Freeze for ConfigContextSchemaRequest
impl RefUnwindSafe for ConfigContextSchemaRequest
impl Send for ConfigContextSchemaRequest
impl Sync for ConfigContextSchemaRequest
impl Unpin for ConfigContextSchemaRequest
impl UnsafeUnpin for ConfigContextSchemaRequest
impl UnwindSafe for ConfigContextSchemaRequest
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