pub struct CreateBookingCustomAttributeDefinitionResponse {
pub custom_attribute_definition: Option<Box<CustomAttributeDefinition>>,
pub errors: Option<Vec<Error>>,
}Expand description
CreateBookingCustomAttributeDefinitionResponse : Represents a CreateBookingCustomAttributeDefinition response. Either custom_attribute_definition or errors is present in the response.
Fields§
§custom_attribute_definition: Option<Box<CustomAttributeDefinition>>§errors: Option<Vec<Error>>Any errors that occurred during the request.
Implementations§
Source§impl CreateBookingCustomAttributeDefinitionResponse
impl CreateBookingCustomAttributeDefinitionResponse
Sourcepub fn new() -> CreateBookingCustomAttributeDefinitionResponse
pub fn new() -> CreateBookingCustomAttributeDefinitionResponse
Represents a CreateBookingCustomAttributeDefinition response. Either custom_attribute_definition or errors is present in the response.
Trait Implementations§
Source§impl Clone for CreateBookingCustomAttributeDefinitionResponse
impl Clone for CreateBookingCustomAttributeDefinitionResponse
Source§fn clone(&self) -> CreateBookingCustomAttributeDefinitionResponse
fn clone(&self) -> CreateBookingCustomAttributeDefinitionResponse
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 Default for CreateBookingCustomAttributeDefinitionResponse
impl Default for CreateBookingCustomAttributeDefinitionResponse
Source§fn default() -> CreateBookingCustomAttributeDefinitionResponse
fn default() -> CreateBookingCustomAttributeDefinitionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateBookingCustomAttributeDefinitionResponse
impl<'de> Deserialize<'de> for CreateBookingCustomAttributeDefinitionResponse
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
impl StructuralPartialEq for CreateBookingCustomAttributeDefinitionResponse
Auto Trait Implementations§
impl Freeze for CreateBookingCustomAttributeDefinitionResponse
impl RefUnwindSafe for CreateBookingCustomAttributeDefinitionResponse
impl Send for CreateBookingCustomAttributeDefinitionResponse
impl Sync for CreateBookingCustomAttributeDefinitionResponse
impl Unpin for CreateBookingCustomAttributeDefinitionResponse
impl UnsafeUnpin for CreateBookingCustomAttributeDefinitionResponse
impl UnwindSafe for CreateBookingCustomAttributeDefinitionResponse
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