pub struct CreateCustomObjectType {
pub handle: String,
pub display_name: String,
pub description: Option<String>,
pub fields: Vec<CustomFieldDefinition>,
}Expand description
Input for creating a custom object type.
Fields§
§handle: String§display_name: String§description: Option<String>§fields: Vec<CustomFieldDefinition>Trait Implementations§
Source§impl Clone for CreateCustomObjectType
impl Clone for CreateCustomObjectType
Source§fn clone(&self) -> CreateCustomObjectType
fn clone(&self) -> CreateCustomObjectType
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 CreateCustomObjectType
impl Debug for CreateCustomObjectType
Source§impl Default for CreateCustomObjectType
impl Default for CreateCustomObjectType
Source§fn default() -> CreateCustomObjectType
fn default() -> CreateCustomObjectType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCustomObjectType
impl<'de> Deserialize<'de> for CreateCustomObjectType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateCustomObjectType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateCustomObjectType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CreateCustomObjectType
impl Serialize for CreateCustomObjectType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CreateCustomObjectType
impl RefUnwindSafe for CreateCustomObjectType
impl Send for CreateCustomObjectType
impl Sync for CreateCustomObjectType
impl Unpin for CreateCustomObjectType
impl UnsafeUnpin for CreateCustomObjectType
impl UnwindSafe for CreateCustomObjectType
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