pub struct ListCustomerGroupsResponse {
pub errors: Option<Vec<Error>>,
pub groups: Option<Vec<CustomerGroup>>,
pub cursor: Option<String>,
}Expand description
ListCustomerGroupsResponse : Defines the fields that are included in the response body of a request to the ListCustomerGroups endpoint. Either errors or groups is present in a given response (never both).
Fields§
§errors: Option<Vec<Error>>Any errors that occurred during the request.
groups: Option<Vec<CustomerGroup>>A list of customer groups belonging to the current seller.
cursor: Option<String>A pagination cursor to retrieve the next set of results for your original query to the endpoint. This value is present only if the request succeeded and additional results are available. For more information, see Pagination.
Implementations§
Source§impl ListCustomerGroupsResponse
impl ListCustomerGroupsResponse
Sourcepub fn new() -> ListCustomerGroupsResponse
pub fn new() -> ListCustomerGroupsResponse
Defines the fields that are included in the response body of a request to the ListCustomerGroups endpoint. Either errors or groups is present in a given response (never both).
Trait Implementations§
Source§impl Clone for ListCustomerGroupsResponse
impl Clone for ListCustomerGroupsResponse
Source§fn clone(&self) -> ListCustomerGroupsResponse
fn clone(&self) -> ListCustomerGroupsResponse
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 ListCustomerGroupsResponse
impl Debug for ListCustomerGroupsResponse
Source§impl Default for ListCustomerGroupsResponse
impl Default for ListCustomerGroupsResponse
Source§fn default() -> ListCustomerGroupsResponse
fn default() -> ListCustomerGroupsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListCustomerGroupsResponse
impl<'de> Deserialize<'de> for ListCustomerGroupsResponse
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 ListCustomerGroupsResponse
Auto Trait Implementations§
impl Freeze for ListCustomerGroupsResponse
impl RefUnwindSafe for ListCustomerGroupsResponse
impl Send for ListCustomerGroupsResponse
impl Sync for ListCustomerGroupsResponse
impl Unpin for ListCustomerGroupsResponse
impl UnsafeUnpin for ListCustomerGroupsResponse
impl UnwindSafe for ListCustomerGroupsResponse
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