pub struct BulkCreateCustomersResponse {
pub responses: Option<HashMap<String, CreateCustomerResponse>>,
pub errors: Option<Vec<Error>>,
}Expand description
This is a model struct for BulkCreateCustomersResponse type
Fields§
§responses: Option<HashMap<String, CreateCustomerResponse>>A map of responses that correspond to individual create requests, represented by key-value pairs.
Each key is the idempotency key that was provided for a create request and each value is the corresponding response. If the request succeeds, the value is the new customer profile. If the request fails, the value contains any errors that occurred during the request.
errors: Option<Vec<Error>>Any top-level errors that prevented the bulk operation from running.
Trait Implementations§
Source§impl Clone for BulkCreateCustomersResponse
impl Clone for BulkCreateCustomersResponse
Source§fn clone(&self) -> BulkCreateCustomersResponse
fn clone(&self) -> BulkCreateCustomersResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 BulkCreateCustomersResponse
impl Debug for BulkCreateCustomersResponse
Source§impl Default for BulkCreateCustomersResponse
impl Default for BulkCreateCustomersResponse
Source§fn default() -> BulkCreateCustomersResponse
fn default() -> BulkCreateCustomersResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BulkCreateCustomersResponse
impl<'de> Deserialize<'de> for BulkCreateCustomersResponse
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 Eq for BulkCreateCustomersResponse
impl StructuralPartialEq for BulkCreateCustomersResponse
Auto Trait Implementations§
impl Freeze for BulkCreateCustomersResponse
impl RefUnwindSafe for BulkCreateCustomersResponse
impl Send for BulkCreateCustomersResponse
impl Sync for BulkCreateCustomersResponse
impl Unpin for BulkCreateCustomersResponse
impl UnwindSafe for BulkCreateCustomersResponse
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