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