pub struct UpsertBookingCustomAttributeRequest {
pub custom_attribute: Box<CustomAttribute>,
pub idempotency_key: Option<Option<String>>,
}Expand description
UpsertBookingCustomAttributeRequest : Represents an UpsertBookingCustomAttribute request.
Fields§
§custom_attribute: Box<CustomAttribute>§idempotency_key: Option<Option<String>>A unique identifier for this request, used to ensure idempotency. For more information, see Idempotency.
Implementations§
Source§impl UpsertBookingCustomAttributeRequest
impl UpsertBookingCustomAttributeRequest
Sourcepub fn new(
custom_attribute: CustomAttribute,
) -> UpsertBookingCustomAttributeRequest
pub fn new( custom_attribute: CustomAttribute, ) -> UpsertBookingCustomAttributeRequest
Represents an UpsertBookingCustomAttribute request.
Trait Implementations§
Source§impl Clone for UpsertBookingCustomAttributeRequest
impl Clone for UpsertBookingCustomAttributeRequest
Source§fn clone(&self) -> UpsertBookingCustomAttributeRequest
fn clone(&self) -> UpsertBookingCustomAttributeRequest
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 UpsertBookingCustomAttributeRequest
impl Default for UpsertBookingCustomAttributeRequest
Source§fn default() -> UpsertBookingCustomAttributeRequest
fn default() -> UpsertBookingCustomAttributeRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpsertBookingCustomAttributeRequest
impl<'de> Deserialize<'de> for UpsertBookingCustomAttributeRequest
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 UpsertBookingCustomAttributeRequest
Auto Trait Implementations§
impl Freeze for UpsertBookingCustomAttributeRequest
impl RefUnwindSafe for UpsertBookingCustomAttributeRequest
impl Send for UpsertBookingCustomAttributeRequest
impl Sync for UpsertBookingCustomAttributeRequest
impl Unpin for UpsertBookingCustomAttributeRequest
impl UnsafeUnpin for UpsertBookingCustomAttributeRequest
impl UnwindSafe for UpsertBookingCustomAttributeRequest
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