pub struct UpsertMerchantCustomAttributeRequest {
pub custom_attribute: Box<CustomAttribute>,
pub idempotency_key: Option<Option<String>>,
}Expand description
UpsertMerchantCustomAttributeRequest : Represents an UpsertMerchantCustomAttribute 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 UpsertMerchantCustomAttributeRequest
impl UpsertMerchantCustomAttributeRequest
Sourcepub fn new(
custom_attribute: CustomAttribute,
) -> UpsertMerchantCustomAttributeRequest
pub fn new( custom_attribute: CustomAttribute, ) -> UpsertMerchantCustomAttributeRequest
Represents an UpsertMerchantCustomAttribute request.
Trait Implementations§
Source§impl Clone for UpsertMerchantCustomAttributeRequest
impl Clone for UpsertMerchantCustomAttributeRequest
Source§fn clone(&self) -> UpsertMerchantCustomAttributeRequest
fn clone(&self) -> UpsertMerchantCustomAttributeRequest
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 UpsertMerchantCustomAttributeRequest
impl Default for UpsertMerchantCustomAttributeRequest
Source§fn default() -> UpsertMerchantCustomAttributeRequest
fn default() -> UpsertMerchantCustomAttributeRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpsertMerchantCustomAttributeRequest
impl<'de> Deserialize<'de> for UpsertMerchantCustomAttributeRequest
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 UpsertMerchantCustomAttributeRequest
Auto Trait Implementations§
impl Freeze for UpsertMerchantCustomAttributeRequest
impl RefUnwindSafe for UpsertMerchantCustomAttributeRequest
impl Send for UpsertMerchantCustomAttributeRequest
impl Sync for UpsertMerchantCustomAttributeRequest
impl Unpin for UpsertMerchantCustomAttributeRequest
impl UnsafeUnpin for UpsertMerchantCustomAttributeRequest
impl UnwindSafe for UpsertMerchantCustomAttributeRequest
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