pub struct ConfigContextSchema {Show 15 fields
pub id: Option<Uuid>,
pub object_type: Option<String>,
pub display: Option<String>,
pub url: Option<String>,
pub natural_slug: Option<String>,
pub owner_content_type: Option<Option<String>>,
pub owner: Option<Option<Box<ConfigContextSchemaOwner>>>,
pub name: String,
pub description: Option<String>,
pub data_schema: Option<Value>,
pub owner_object_id: Option<Option<Uuid>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
pub notes_url: Option<String>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
ConfigContextSchema : 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>§object_type: Option<String>§display: Option<String>Human friendly display value
url: Option<String>§natural_slug: Option<String>§owner_content_type: Option<Option<String>>§owner: Option<Option<Box<ConfigContextSchemaOwner>>>§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>>§created: Option<Option<String>>§last_updated: Option<Option<String>>§notes_url: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Trait Implementations§
Source§impl Clone for ConfigContextSchema
impl Clone for ConfigContextSchema
Source§fn clone(&self) -> ConfigContextSchema
fn clone(&self) -> ConfigContextSchema
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 ConfigContextSchema
impl Debug for ConfigContextSchema
Source§impl Default for ConfigContextSchema
impl Default for ConfigContextSchema
Source§fn default() -> ConfigContextSchema
fn default() -> ConfigContextSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigContextSchema
impl<'de> Deserialize<'de> for ConfigContextSchema
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 ConfigContextSchema
impl PartialEq for ConfigContextSchema
Source§impl Serialize for ConfigContextSchema
impl Serialize for ConfigContextSchema
impl StructuralPartialEq for ConfigContextSchema
Auto Trait Implementations§
impl Freeze for ConfigContextSchema
impl RefUnwindSafe for ConfigContextSchema
impl Send for ConfigContextSchema
impl Sync for ConfigContextSchema
impl Unpin for ConfigContextSchema
impl UnsafeUnpin for ConfigContextSchema
impl UnwindSafe for ConfigContextSchema
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