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