pub struct BulkWritableConfigContextSchemaRequest {
pub id: 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
BulkWritableConfigContextSchemaRequest : 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: 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§
Source§impl BulkWritableConfigContextSchemaRequest
impl BulkWritableConfigContextSchemaRequest
Sourcepub fn new(
id: Uuid,
name: String,
data_schema: Option<Value>,
) -> BulkWritableConfigContextSchemaRequest
pub fn new( id: Uuid, name: String, data_schema: Option<Value>, ) -> BulkWritableConfigContextSchemaRequest
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.
Trait Implementations§
Source§impl Clone for BulkWritableConfigContextSchemaRequest
impl Clone for BulkWritableConfigContextSchemaRequest
Source§fn clone(&self) -> BulkWritableConfigContextSchemaRequest
fn clone(&self) -> BulkWritableConfigContextSchemaRequest
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 BulkWritableConfigContextSchemaRequest
impl Default for BulkWritableConfigContextSchemaRequest
Source§fn default() -> BulkWritableConfigContextSchemaRequest
fn default() -> BulkWritableConfigContextSchemaRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BulkWritableConfigContextSchemaRequest
impl<'de> Deserialize<'de> for BulkWritableConfigContextSchemaRequest
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 BulkWritableConfigContextSchemaRequest
impl PartialEq for BulkWritableConfigContextSchemaRequest
Source§fn eq(&self, other: &BulkWritableConfigContextSchemaRequest) -> bool
fn eq(&self, other: &BulkWritableConfigContextSchemaRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BulkWritableConfigContextSchemaRequest
Auto Trait Implementations§
impl Freeze for BulkWritableConfigContextSchemaRequest
impl RefUnwindSafe for BulkWritableConfigContextSchemaRequest
impl Send for BulkWritableConfigContextSchemaRequest
impl Sync for BulkWritableConfigContextSchemaRequest
impl Unpin for BulkWritableConfigContextSchemaRequest
impl UnsafeUnpin for BulkWritableConfigContextSchemaRequest
impl UnwindSafe for BulkWritableConfigContextSchemaRequest
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