pub struct UpdateCustomObjectType {
pub display_name: Option<String>,
pub description: Option<String>,
pub fields: Option<Vec<CustomFieldDefinition>>,
}Expand description
Input for updating a custom object type.
Fields§
§display_name: Option<String>§description: Option<String>§fields: Option<Vec<CustomFieldDefinition>>Full replacement of the field definitions.
Trait Implementations§
Source§impl Clone for UpdateCustomObjectType
impl Clone for UpdateCustomObjectType
Source§fn clone(&self) -> UpdateCustomObjectType
fn clone(&self) -> UpdateCustomObjectType
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 UpdateCustomObjectType
impl Debug for UpdateCustomObjectType
Source§impl Default for UpdateCustomObjectType
impl Default for UpdateCustomObjectType
Source§fn default() -> UpdateCustomObjectType
fn default() -> UpdateCustomObjectType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateCustomObjectType
impl<'de> Deserialize<'de> for UpdateCustomObjectType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateCustomObjectType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateCustomObjectType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpdateCustomObjectType
impl Serialize for UpdateCustomObjectType
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 UpdateCustomObjectType
impl RefUnwindSafe for UpdateCustomObjectType
impl Send for UpdateCustomObjectType
impl Sync for UpdateCustomObjectType
impl Unpin for UpdateCustomObjectType
impl UnsafeUnpin for UpdateCustomObjectType
impl UnwindSafe for UpdateCustomObjectType
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