pub struct CreateCustomObjectSchemaDTO {
pub labels: CustomObjectLabelDto,
pub key: String,
pub description: Option<String>,
pub location_id: String,
pub primary_display_property_details: CustomObjectDisplayPropertyDetails,
}Available on crate feature
objects only.Expand description
CreateCustomObjectSchemaDTO from the GoHighLevel OpenAPI spec.
Fields§
§labels: CustomObjectLabelDtoThis is what your custom object will be called. These labels will be used to display your custom object on the UI Required by the API.
key: Stringkey that would be used to refer the Custom Object internally (lowercase + underscore_separated). ‘custom_objects.’ would be added as prefix by default Required by the API.
description: Option<String>Pet Object`s description
location_id: StringLocation Id Required by the API.
primary_display_property_details: CustomObjectDisplayPropertyDetailsPrimary property which will be displayed on the record page Required by the API.
Trait Implementations§
Source§impl Clone for CreateCustomObjectSchemaDTO
impl Clone for CreateCustomObjectSchemaDTO
Source§fn clone(&self) -> CreateCustomObjectSchemaDTO
fn clone(&self) -> CreateCustomObjectSchemaDTO
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 CreateCustomObjectSchemaDTO
impl Debug for CreateCustomObjectSchemaDTO
Source§impl Default for CreateCustomObjectSchemaDTO
impl Default for CreateCustomObjectSchemaDTO
Source§fn default() -> CreateCustomObjectSchemaDTO
fn default() -> CreateCustomObjectSchemaDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCustomObjectSchemaDTO
impl<'de> Deserialize<'de> for CreateCustomObjectSchemaDTO
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
Auto Trait Implementations§
impl Freeze for CreateCustomObjectSchemaDTO
impl RefUnwindSafe for CreateCustomObjectSchemaDTO
impl Send for CreateCustomObjectSchemaDTO
impl Sync for CreateCustomObjectSchemaDTO
impl Unpin for CreateCustomObjectSchemaDTO
impl UnsafeUnpin for CreateCustomObjectSchemaDTO
impl UnwindSafe for CreateCustomObjectSchemaDTO
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