pub struct ListBookingCustomAttributesResponse {
pub custom_attributes: Option<Vec<CustomAttribute>>,
pub cursor: Option<String>,
pub errors: Option<Vec<Error>>,
}Expand description
ListBookingCustomAttributesResponse : Represents a ListBookingCustomAttributes response. Either custom_attributes, an empty object, or errors is present in the response. If additional results are available, the cursor field is also present along with custom_attributes.
Fields§
§custom_attributes: Option<Vec<CustomAttribute>>The retrieved custom attributes. If with_definitions was set to true in the request, the custom attribute definition is returned in the definition field of each custom attribute. If no custom attributes are found, Square returns an empty object ({}).
cursor: Option<String>The cursor to use in your next call to this endpoint to retrieve the next page of results for your original request. This field is present only if the request succeeded and additional results are available. For more information, see Pagination.
errors: Option<Vec<Error>>Any errors that occurred during the request.
Implementations§
Source§impl ListBookingCustomAttributesResponse
impl ListBookingCustomAttributesResponse
Sourcepub fn new() -> ListBookingCustomAttributesResponse
pub fn new() -> ListBookingCustomAttributesResponse
Represents a ListBookingCustomAttributes response. Either custom_attributes, an empty object, or errors is present in the response. If additional results are available, the cursor field is also present along with custom_attributes.
Trait Implementations§
Source§impl Clone for ListBookingCustomAttributesResponse
impl Clone for ListBookingCustomAttributesResponse
Source§fn clone(&self) -> ListBookingCustomAttributesResponse
fn clone(&self) -> ListBookingCustomAttributesResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more