pub struct BulkUpdateCustomersRequest {
pub customers: HashMap<String, BulkUpdateCustomerData>,
}Expand description
BulkUpdateCustomersRequest : Defines the body parameters that can be included in requests to the BulkUpdateCustomers endpoint.
Fields§
§customers: HashMap<String, BulkUpdateCustomerData>A map of 1 to 100 individual update requests, represented by customer ID: { customer data } key-value pairs. Each key is the ID of the customer profile to update. To update a customer profile that was created by merging existing profiles, provide the ID of the newly created profile. Each value contains the updated customer data. Only new or changed fields are required. To add or update a field, specify the new value. To remove a field, specify null.
Implementations§
Source§impl BulkUpdateCustomersRequest
impl BulkUpdateCustomersRequest
Sourcepub fn new(
customers: HashMap<String, BulkUpdateCustomerData>,
) -> BulkUpdateCustomersRequest
pub fn new( customers: HashMap<String, BulkUpdateCustomerData>, ) -> BulkUpdateCustomersRequest
Defines the body parameters that can be included in requests to the BulkUpdateCustomers endpoint.
Trait Implementations§
Source§impl Clone for BulkUpdateCustomersRequest
impl Clone for BulkUpdateCustomersRequest
Source§fn clone(&self) -> BulkUpdateCustomersRequest
fn clone(&self) -> BulkUpdateCustomersRequest
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 Debug for BulkUpdateCustomersRequest
impl Debug for BulkUpdateCustomersRequest
Source§impl Default for BulkUpdateCustomersRequest
impl Default for BulkUpdateCustomersRequest
Source§fn default() -> BulkUpdateCustomersRequest
fn default() -> BulkUpdateCustomersRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BulkUpdateCustomersRequest
impl<'de> Deserialize<'de> for BulkUpdateCustomersRequest
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 BulkUpdateCustomersRequest
Auto Trait Implementations§
impl Freeze for BulkUpdateCustomersRequest
impl RefUnwindSafe for BulkUpdateCustomersRequest
impl Send for BulkUpdateCustomersRequest
impl Sync for BulkUpdateCustomersRequest
impl Unpin for BulkUpdateCustomersRequest
impl UnsafeUnpin for BulkUpdateCustomersRequest
impl UnwindSafe for BulkUpdateCustomersRequest
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