pub struct ListOrderCustomAttributesResponse {
pub custom_attributes: Option<Vec<CustomAttribute>>,
pub cursor: Option<String>,
pub errors: Option<Vec<Error>>,
}Expand description
ListOrderCustomAttributesResponse : Represents a response from listing order custom attributes.
Fields§
§custom_attributes: Option<Vec<CustomAttribute>>The retrieved custom attributes. If no custom attribute are found, Square returns an empty object ({}).
cursor: Option<String>The cursor to provide 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 ListOrderCustomAttributesResponse
impl ListOrderCustomAttributesResponse
Sourcepub fn new() -> ListOrderCustomAttributesResponse
pub fn new() -> ListOrderCustomAttributesResponse
Represents a response from listing order custom attributes.
Trait Implementations§
Source§impl Clone for ListOrderCustomAttributesResponse
impl Clone for ListOrderCustomAttributesResponse
Source§fn clone(&self) -> ListOrderCustomAttributesResponse
fn clone(&self) -> ListOrderCustomAttributesResponse
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 ListOrderCustomAttributesResponse
impl Default for ListOrderCustomAttributesResponse
Source§fn default() -> ListOrderCustomAttributesResponse
fn default() -> ListOrderCustomAttributesResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListOrderCustomAttributesResponse
impl<'de> Deserialize<'de> for ListOrderCustomAttributesResponse
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 ListOrderCustomAttributesResponse
Auto Trait Implementations§
impl Freeze for ListOrderCustomAttributesResponse
impl RefUnwindSafe for ListOrderCustomAttributesResponse
impl Send for ListOrderCustomAttributesResponse
impl Sync for ListOrderCustomAttributesResponse
impl Unpin for ListOrderCustomAttributesResponse
impl UnsafeUnpin for ListOrderCustomAttributesResponse
impl UnwindSafe for ListOrderCustomAttributesResponse
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